Skip to content

Commit f1e7d1c

Browse files
zsxwingAndrew Or
authored andcommitted
[SPARK-4310][WebUI] Sort 'Submitted' column in Stage page by time
Author: zsxwing <[email protected]> Closes #3179 from zsxwing/SPARK-4310 and squashes the following commits: b0d29f5 [zsxwing] Sort 'Submitted' column in Stage page by time (cherry picked from commit 825709a) Signed-off-by: Andrew Or <[email protected]>
1 parent 5de97fc commit f1e7d1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,9 @@ private[ui] class StageTableBase(
175175
Seq.empty
176176
}} ++
177177
<td>{makeDescription(s)}</td>
178-
<td valign="middle">{submissionTime}</td>
178+
<td sorttable_customkey={s.submissionTime.getOrElse(0).toString} valign="middle">
179+
{submissionTime}
180+
</td>
179181
<td sorttable_customkey={duration.getOrElse(-1).toString}>{formattedDuration}</td>
180182
<td class="progress-cell">
181183
{makeProgressBar(stageData.numActiveTasks, stageData.completedIndices.size,

0 commit comments

Comments
 (0)