diff options
author | zhuol <zhuol@yahoo-inc.com> | 2016-02-29 08:37:33 -0600 |
---|---|---|
committer | Tom Graves <tgraves@yahoo-inc.com> | 2016-02-29 08:37:33 -0600 |
commit | 2f91f5ac0d2a5932169b245e3ef3e19849131277 (patch) | |
tree | c1857b1e4ebcae3c1fce79986293b0cba259e42a /core/src | |
parent | 236e3c8fbc887e4da4f143cbf533f016f21c10d4 (diff) | |
download | spark-2f91f5ac0d2a5932169b245e3ef3e19849131277.tar.gz spark-2f91f5ac0d2a5932169b245e3ef3e19849131277.tar.bz2 spark-2f91f5ac0d2a5932169b245e3ef3e19849131277.zip |
[SPARK-13481] Desc order of appID by default for history server page.
## What changes were proposed in this pull request?
Now by default, it shows as ascending order of appId. We might prefer to display as descending order by default, which will show the latest application at the top.
## How was this patch tested?
Manual tested. See screenshot below:
![desc-sort](https://cloud.githubusercontent.com/assets/11683054/13307473/102f4cf8-db31-11e5-8dd5-391edbf32f0d.png)
Author: zhuol <zhuol@yahoo-inc.com>
Closes #11357 from zhuoliu/13481.
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/resources/org/apache/spark/ui/static/historypage.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/main/resources/org/apache/spark/ui/static/historypage.js b/core/src/main/resources/org/apache/spark/ui/static/historypage.js index 6195916195..167c802085 100644 --- a/core/src/main/resources/org/apache/spark/ui/static/historypage.js +++ b/core/src/main/resources/org/apache/spark/ui/static/historypage.js @@ -149,7 +149,8 @@ $(document).ready(function() { {name: 'seventh'}, {name: 'eighth'}, ], - "autoWidth": false + "autoWidth": false, + "order": [[ 0, "desc" ]] }; var rowGroupConf = { |