spark git commit: [SPARK-4310][WebUI] Sort 'Submitted' column in Stage page by time
Repository: spark Updated Branches: refs/heads/branch-1.2 5de97fc43 - f1e7d1c2c [SPARK-4310][WebUI] Sort 'Submitted' column in Stage page by time Author: zsxwing zsxw...@gmail.com 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 825709a0b8f9b4bfb2718ecca8efc32be96c5a57) Signed-off-by: Andrew Or and...@databricks.com Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/f1e7d1c2 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/f1e7d1c2 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/f1e7d1c2 Branch: refs/heads/branch-1.2 Commit: f1e7d1c2c02ded1f66ff2a3cff9a6e46bb10c5d3 Parents: 5de97fc Author: zsxwing zsxw...@gmail.com Authored: Thu Nov 13 14:37:04 2014 -0800 Committer: Andrew Or and...@databricks.com Committed: Thu Nov 13 14:37:14 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/f1e7d1c2/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-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org
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 zsxw...@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 zsxw...@gmail.com Authored: Thu Nov 13 14:37:04 2014 -0800 Committer: Andrew Or and...@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-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org