Skip to content

Commit 446063e

Browse files
zsxwingandrewor14
authored andcommitted
[SPARK-3777] Display "Executor ID" for Tasks in Stage page
Now the Stage page only displays "Executor"(host) for tasks. However, there may be more than one Executors running in the same host. Currently, when some task is hung, I only know the host of the faulty executor. Therefore I have to check all executors in the host. Adding "Executor ID" in the Tasks table. would be helpful to locate the faulty executor. Here is the new page: ![add_executor_id_for_tasks](https://cloud.githubusercontent.com/assets/1000778/4505774/acb9648c-4afa-11e4-8826-8768a0a60cc9.png) Author: zsxwing <[email protected]> Closes apache#2642 from zsxwing/SPARK-3777 and squashes the following commits: 37945af [zsxwing] Put Executor ID and Host into one cell 4bbe2c7 [zsxwing] [SPARK-3777] Display "Executor ID" for Tasks in Stage page
1 parent 553737c commit 446063e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ private[ui] class StagePage(parent: JobProgressTab) extends WebUIPage("stage") {
103103

104104
val taskHeaders: Seq[String] =
105105
Seq(
106-
"Index", "ID", "Attempt", "Status", "Locality Level", "Executor",
106+
"Index", "ID", "Attempt", "Status", "Locality Level", "Executor ID / Host",
107107
"Launch Time", "Duration", "GC Time", "Accumulators") ++
108108
{if (hasInput) Seq("Input") else Nil} ++
109109
{if (hasShuffleRead) Seq("Shuffle Read") else Nil} ++
@@ -282,7 +282,7 @@ private[ui] class StagePage(parent: JobProgressTab) extends WebUIPage("stage") {
282282
}</td>
283283
<td>{info.status}</td>
284284
<td>{info.taskLocality}</td>
285-
<td>{info.host}</td>
285+
<td>{info.executorId} / {info.host}</td>
286286
<td>{UIUtils.formatDate(new Date(info.launchTime))}</td>
287287
<td sorttable_customkey={duration.toString}>
288288
{formatDuration}

0 commit comments

Comments
 (0)