Skip to content

Commit 450b415

Browse files
shahidki31sarutak
authored andcommitted
[SPARK-35746][UI] Fix taskid in the stage page task event timeline
### What changes were proposed in this pull request? Task id is given incorrect in the timeline plot in Stage Page ### Why are the changes needed? Map event timeline plots to correct task **Before:** ![image](https://user-images.githubusercontent.com/23054875/121761077-81775800-cb4b-11eb-8ec6-ee71926a6549.png) **After** ![image](https://user-images.githubusercontent.com/23054875/121761195-02ceea80-cb4c-11eb-8ce6-07bb1cca190e.png) ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Manually tested Closes apache#32888 from shahidki31/shahid/fixtaskid. Authored-by: shahid <[email protected]> Signed-off-by: Kousuke Saruta <[email protected]>
1 parent 76e08a8 commit 450b415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ private[ui] class StagePage(parent: StagesTab, store: AppStatusStore) extends We
355355
|'content': '<div class="task-assignment-timeline-content"
356356
|data-toggle="tooltip" data-placement="top"
357357
|data-html="true" data-container="body"
358-
|data-title="${s"Task " + index + " (attempt " + attempt + ")"}<br>
358+
|data-title="${s"Task " + taskInfo.taskId + " (attempt " + attempt + ")"}<br>
359359
|Status: ${taskInfo.status}<br>
360360
|Launch Time: ${UIUtils.formatDate(new Date(launchTime))}
361361
|${

0 commit comments

Comments
 (0)