Skip to content

Commit 0c1398e

Browse files
committed
Fixed ordering
1 parent 531575d commit 0c1398e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -114,16 +114,16 @@ private[ui] class StagePage(parent: JobProgressTab) extends WebUIPage("stage") {
114114
</li>
115115
<li>
116116
<span data-toggle="tooltip"
117-
title={ToolTips.GC_TIME} data-placement="right">
118-
<input type="checkbox" name={TaskDetailsClassNames.GC_TIME}/>
119-
<span class="additional-metric-title">GC Time</span>
117+
title={ToolTips.TASK_DESERIALIZATION_TIME} data-placement="right">
118+
<input type="checkbox" name={TaskDetailsClassNames.TASK_DESERIALIZATION_TIME}/>
119+
<span class="additional-metric-title">Task Deserialization Time</span>
120120
</span>
121121
</li>
122122
<li>
123123
<span data-toggle="tooltip"
124-
title={ToolTips.TASK_DESERIALIZATION_TIME} data-placement="right">
125-
<input type="checkbox" name={TaskDetailsClassNames.TASK_DESERIALIZATION_TIME}/>
126-
<span class="additional-metric-title">Task Deserialization Time</span>
124+
title={ToolTips.GC_TIME} data-placement="right">
125+
<input type="checkbox" name={TaskDetailsClassNames.GC_TIME}/>
126+
<span class="additional-metric-title">GC Time</span>
127127
</span>
128128
</li>
129129
<li>
@@ -154,8 +154,8 @@ private[ui] class StagePage(parent: JobProgressTab) extends WebUIPage("stage") {
154154
("Index", ""), ("ID", ""), ("Attempt", ""), ("Status", ""), ("Locality Level", ""),
155155
("Executor ID / Host", ""), ("Launch Time", ""), ("Duration", ""),
156156
("Scheduler Delay", TaskDetailsClassNames.SCHEDULER_DELAY),
157-
("GC Time", TaskDetailsClassNames.GC_TIME),
158157
("Task Deserialization Time", TaskDetailsClassNames.TASK_DESERIALIZATION_TIME),
158+
("GC Time", TaskDetailsClassNames.GC_TIME),
159159
("Result Serialization Time", TaskDetailsClassNames.RESULT_SERIALIZATION_TIME),
160160
("Getting Result Time", TaskDetailsClassNames.GETTING_RESULT_TIME)) ++
161161
{if (hasAccumulators) Seq(("Accumulators", "")) else Nil} ++
@@ -390,13 +390,13 @@ private[ui] class StagePage(parent: JobProgressTab) extends WebUIPage("stage") {
390390
class={TaskDetailsClassNames.SCHEDULER_DELAY}>
391391
{UIUtils.formatDuration(schedulerDelay.toLong)}
392392
</td>
393-
<td sorttable_customkey={gcTime.toString} class={TaskDetailsClassNames.GC_TIME}>
394-
{if (gcTime > 0) UIUtils.formatDuration(gcTime) else ""}
395-
</td>
396393
<td sorttable_customkey={taskDeserializationTime.toString}
397394
class={TaskDetailsClassNames.TASK_DESERIALIZATION_TIME}>
398395
{UIUtils.formatDuration(taskDeserializationTime.toLong)}
399396
</td>
397+
<td sorttable_customkey={gcTime.toString} class={TaskDetailsClassNames.GC_TIME}>
398+
{if (gcTime > 0) UIUtils.formatDuration(gcTime) else ""}
399+
</td>
400400
<td sorttable_customkey={serializationTime.toString}
401401
class={TaskDetailsClassNames.RESULT_SERIALIZATION_TIME}>
402402
{UIUtils.formatDuration(serializationTime)}

0 commit comments

Comments
 (0)