diff options
author | Alex Bozarth <ajbozart@us.ibm.com> | 2016-10-21 11:39:32 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-10-21 11:39:32 +0100 |
commit | 3a237512b162d192b5503c08d121134a2dac6ff1 (patch) | |
tree | e9aa0831efe381be4b5fa98d5ea3b72d2c05ed7b | |
parent | a8ea4da8d04c1ed621a96668118f20739145edd2 (diff) | |
download | spark-3a237512b162d192b5503c08d121134a2dac6ff1.tar.gz spark-3a237512b162d192b5503c08d121134a2dac6ff1.tar.bz2 spark-3a237512b162d192b5503c08d121134a2dac6ff1.zip |
[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 <ajbozart@us.ibm.com>
Closes #15536 from ajbozarth/spark13275.
-rw-r--r-- | core/src/main/resources/org/apache/spark/ui/static/timeline-view.js | 2 |
1 files changed, 2 insertions, 0 deletions
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 a6153ceda7..705a08f029 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, |