Skip to content
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

Closed
wants to merge 2 commits into from

Conversation

srowen
Copy link
Member

@srowen srowen commented Jan 26, 2016

Improve printing of StageInfo in onStageCompleted

See also #10585

@SparkQA
Copy link

SparkQA commented Jan 26, 2016

Test build #50103 has finished for PR 10922 at commit 00ff9a1.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member Author

srowen commented Jan 27, 2016

Jenkins, retest this please

1 similar comment
@srowen
Copy link
Member Author

srowen commented Jan 28, 2016

Jenkins, retest this please

@SparkQA
Copy link

SparkQA commented Jan 28, 2016

Test build #50270 has finished for PR 10922 at commit 00ff9a1.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Jan 28, 2016

Test build #50275 has finished for PR 10922 at commit 4e997a2.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@andrewor14
Copy link
Contributor

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("")
Copy link
Contributor

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?

Copy link
Member Author

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.

Copy link
Contributor

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

@andrewor14
Copy link
Contributor

LGTM

@SparkQA
Copy link

SparkQA commented Feb 2, 2016

Test build #50504 has finished for PR 10922 at commit 4e997a2.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@andrewor14
Copy link
Contributor

Merged into master.

@asfgit asfgit closed this in 715a19d Feb 2, 2016
@srowen srowen deleted the SPARK-12637 branch February 6, 2016 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants