-
Notifications
You must be signed in to change notification settings - Fork 28.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SPARK-12637] [CORE] Print stage info of finished stages properly #10922
Conversation
Test build #50103 has finished for PR 10922 at commit
|
Jenkins, retest this please |
1 similar comment
Jenkins, retest this please |
Test build #50270 has finished for PR 10922 at commit
|
Test build #50275 has finished for PR 10922 at commit
|
retest this please |
@@ -296,6 +296,17 @@ class StatsReportListener extends SparkListener with Logging { | |||
taskInfoMetrics.clear() | |||
} | |||
|
|||
private def getStatusDetail(info: StageInfo): String = { | |||
val failureReason = info.failureReason.map("(" + _ + ")").getOrElse("") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not just do ($failureReason)
down there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would produce an empty () when it didn't exist or that was the intent I was just following.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah you're right never mind
LGTM |
Test build #50504 has finished for PR 10922 at commit
|
Merged into master. |
Improve printing of StageInfo in onStageCompleted
See also #10585