You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by an...@apache.org on 2014/11/13 23:37:09 UTC

spark git commit: [SPARK-4310][WebUI] Sort 'Submitted' column in Stage page by time

Repository: spark
Updated Branches:
  refs/heads/master 32218307e -> 825709a0b


[SPARK-4310][WebUI] Sort 'Submitted' column in Stage page by time

Author: zsxwing <zs...@gmail.com>

Closes #3179 from zsxwing/SPARK-4310 and squashes the following commits:

b0d29f5 [zsxwing] Sort 'Submitted' column in Stage page by time


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/825709a0
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/825709a0
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/825709a0

Branch: refs/heads/master
Commit: 825709a0b8f9b4bfb2718ecca8efc32be96c5a57
Parents: 3221830
Author: zsxwing <zs...@gmail.com>
Authored: Thu Nov 13 14:37:04 2014 -0800
Committer: Andrew Or <an...@databricks.com>
Committed: Thu Nov 13 14:37:04 2014 -0800

----------------------------------------------------------------------
 core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/825709a0/core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala b/core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala
index eae542d..2ff561c 100644
--- a/core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala
+++ b/core/src/main/scala/org/apache/spark/ui/jobs/StageTable.scala
@@ -175,7 +175,9 @@ private[ui] class StageTableBase(
       Seq.empty
     }} ++
     <td>{makeDescription(s)}</td>
-    <td valign="middle">{submissionTime}</td>
+    <td sorttable_customkey={s.submissionTime.getOrElse(0).toString} valign="middle">
+      {submissionTime}
+    </td>
     <td sorttable_customkey={duration.getOrElse(-1).toString}>{formattedDuration}</td>
     <td class="progress-cell">
       {makeProgressBar(stageData.numActiveTasks, stageData.completedIndices.size,


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org