spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tgra...@apache.org
Subject spark git commit: [SPARK-13481] Desc order of appID by default for history server page.
Date Mon, 29 Feb 2016 14:37:35 GMT
Repository: spark
Updated Branches:
  refs/heads/master 236e3c8fb -> 2f91f5ac0


[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.


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

Branch: refs/heads/master
Commit: 2f91f5ac0d2a5932169b245e3ef3e19849131277
Parents: 236e3c8
Author: zhuol <zhuol@yahoo-inc.com>
Authored: Mon Feb 29 08:37:33 2016 -0600
Committer: Tom Graves <tgraves@yahoo-inc.com>
Committed: Mon Feb 29 08:37:33 2016 -0600

----------------------------------------------------------------------
 core/src/main/resources/org/apache/spark/ui/static/historypage.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/2f91f5ac/core/src/main/resources/org/apache/spark/ui/static/historypage.js
----------------------------------------------------------------------
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 6195916..167c802 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 = {


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


Mime
View raw message