Repository: spark
Updated Branches:
  refs/heads/master a8ea4da8d -> 3a237512b


[SPARK-13275][WEB UI] Visually clarified executors start time in timeline

## What changes were proposed in this pull request?

Updated the Executors added/removed bubble in the time line so it's clearer 
where it starts. Now the bubble is left justified on the start time (still also 
denoted by the line) rather than center justified.

## How was this patch tested?

Manually tested UI

<img width="596" alt="screen shot 2016-10-17 at 6 04 36 pm" 
src="https://cloud.githubusercontent.com/assets/13952758/19496563/e6c9186e-953c-11e6-85e4-63309a553f65.png";>
<img width="492" alt="screen shot 2016-10-17 at 5 54 09 pm" 
src="https://cloud.githubusercontent.com/assets/13952758/19496568/e9f06132-953c-11e6-8901-54405ebc7f5b.png";>

Author: Alex Bozarth <[email protected]>

Closes #15536 from ajbozarth/spark13275.


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

Branch: refs/heads/master
Commit: 3a237512b162d192b5503c08d121134a2dac6ff1
Parents: a8ea4da
Author: Alex Bozarth <[email protected]>
Authored: Fri Oct 21 11:39:32 2016 +0100
Committer: Sean Owen <[email protected]>
Committed: Fri Oct 21 11:39:32 2016 +0100

----------------------------------------------------------------------
 .../src/main/resources/org/apache/spark/ui/static/timeline-view.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/3a237512/core/src/main/resources/org/apache/spark/ui/static/timeline-view.js
----------------------------------------------------------------------
diff --git 
a/core/src/main/resources/org/apache/spark/ui/static/timeline-view.js 
b/core/src/main/resources/org/apache/spark/ui/static/timeline-view.js
index a6153ce..705a08f 100644
--- a/core/src/main/resources/org/apache/spark/ui/static/timeline-view.js
+++ b/core/src/main/resources/org/apache/spark/ui/static/timeline-view.js
@@ -24,6 +24,7 @@ function drawApplicationTimeline(groupArray, eventObjArray, 
startTime, offset) {
       return a.value - b.value
     },
     editable: false,
+    align: 'left',
     showCurrentTime: false,
     min: startTime,
     zoomable: false,
@@ -99,6 +100,7 @@ function drawJobTimeline(groupArray, eventObjArray, 
startTime, offset) {
       return a.value - b.value;
     },
     editable: false,
+    align: 'left',
     showCurrentTime: false,
     min: startTime,
     zoomable: false,


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to