Skip to content

Conversation

@echohlne
Copy link
Contributor

@echohlne echohlne commented Mar 18, 2021

What changes were proposed in this pull request?

Make the attemptId in the log of historyServer to be more easily to read.

Why are the changes needed?

Option variable in Spark historyServer log should be displayed as actual value instead of Some(XX)

Does this PR introduce any user-facing change?

No

How was this patch tested?

manual test

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@github-actions github-actions bot added the CORE label Mar 18, 2021
@echohlne echohlne changed the title [WIP][SPARK-34787] Option variable in Spark historyServer log should be displayed as actual value instead of Some(XX) [SPARK-34787] Option variable in Spark historyServer log should be displayed as actual value instead of Some(XX) Mar 19, 2021
@echohlne echohlne requested a review from dongjoon-hyun March 23, 2021 14:59
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although this is a log message, we had better be consistent. Removing trailing / usually causes a redundant redirection like SPARK-34635.

$ curl --head http://localhost:18080/history/spark-7244d6f5b2774ba18d31d9149ef22100/jobs
HTTP/1.1 302 Found
Date: Tue, 23 Mar 2021 16:21:51 GMT
Location: http://localhost:18080/history/spark-7244d6f5b2774ba18d31d9149ef22100/jobs/
Content-Length: 0
Server: Jetty(9.4.36.v20210114)

@echohlne echohlne requested a review from dongjoon-hyun March 24, 2021 09:31
@echohlne
Copy link
Contributor Author

@dongjoon-hyun This issue has been blocked for a while, could you please help to review it , thanks a lot!

@echohlne
Copy link
Contributor Author

@dongjoon-hyun redirect to #32189 , the branch in this pr was too old, sorry.

@echohlne echohlne closed this Apr 15, 2021
@dongjoon-hyun
Copy link
Member

No problem. Thank you for opening a new one. I'll review there, @Kyoty .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants