-
Notifications
You must be signed in to change notification settings - Fork 28.3k
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-6115][Core] Show job description at the first stage submmited #4910
Conversation
Jenkins this is ok to test |
Test build #29047 has finished for PR 4910 at commit
|
val lastStageInfo = Option(job.stageIds) | ||
.filter(_.nonEmpty) | ||
.flatMap { ids => listener.stageIdToInfo.get(ids.max) } | ||
val lastStageData = lastStageInfo.flatMap { s => | ||
val firstStageData = firstStageInfo.flatMap { s => | ||
listener.stageIdToData.get((s.stageId, s.attemptId)) | ||
} | ||
|
||
val lastStageName = lastStageInfo.map(_.name).getOrElse("(Unknown Stage Name)") |
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.
should this be firstStageName
?
@kayousterhout can you see if this fixes the problem? |
retest this please |
Test build #30270 has finished for PR 4910 at commit
|
@@ -66,7 +69,7 @@ private[ui] class AllJobsPage(parent: JobsTab) extends WebUIPage("") { | |||
{job.jobId} {job.jobGroup.map(id => s"($id)").getOrElse("")} | |||
</td> | |||
<td> | |||
<span class="description-input" title={lastStageDescription}>{lastStageDescription}</span> | |||
<span class="description-input" title={firstStageDescription}>{firstStageDescription}</span> |
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.
this line is too long. Please wrap it.
@Leolh are you able to follow up on this? there are comments awaiting changes. |
Can one of the admins verify this patch? |
@Leolh if you're not able to follow up on the comments, do you mind closing this PR? |
The job description set into stage info when the stage be submitted,
so we can show the job description at the first stage submitted surpass the last stage.