spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sro...@apache.org
Subject spark git commit: [SPARK-20813][WEB UI] Fixed Web UI executor page tab search by status not working
Date Mon, 22 May 2017 13:24:52 GMT
Repository: spark
Updated Branches:
  refs/heads/master f1ffc6e71 -> aea73be1b


[SPARK-20813][WEB UI] Fixed Web UI executor page tab search by status not working

## What changes were proposed in this pull request?
On status column of the table, I removed the condition  that forced only the display value
to take on values Active, Blacklisted and Dead.

Before the removal, values used for sort and filter for that particular column was True and
False.
## How was this patch tested?

Tested with Active, Blacklisted and Dead present as current status.

Author: John Lee <jlee2@yahoo-inc.com>

Closes #18036 from yoonlee95/SPARK-20813.


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

Branch: refs/heads/master
Commit: aea73be1b436f5812dacc05c002c653f29e344de
Parents: f1ffc6e
Author: John Lee <jlee2@yahoo-inc.com>
Authored: Mon May 22 14:24:49 2017 +0100
Committer: Sean Owen <sowen@cloudera.com>
Committed: Mon May 22 14:24:49 2017 +0100

----------------------------------------------------------------------
 .../src/main/resources/org/apache/spark/ui/static/executorspage.js | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/aea73be1/core/src/main/resources/org/apache/spark/ui/static/executorspage.js
----------------------------------------------------------------------
diff --git a/core/src/main/resources/org/apache/spark/ui/static/executorspage.js b/core/src/main/resources/org/apache/spark/ui/static/executorspage.js
index 6643a8f..d430d8c 100644
--- a/core/src/main/resources/org/apache/spark/ui/static/executorspage.js
+++ b/core/src/main/resources/org/apache/spark/ui/static/executorspage.js
@@ -26,7 +26,6 @@ function getThreadDumpEnabled() {
 }
 
 function formatStatus(status, type) {
-    if (type !== 'display') return status;
     if (status) {
         return "Active"
     } else {
@@ -417,7 +416,6 @@ $(document).ready(function () {
                         },
                         {data: 'hostPort'},
                         {data: 'isActive', render: function (data, type, row) {
-                            if (type !== 'display') return data;
                             if (row.isBlacklisted) return "Blacklisted";
                             else return formatStatus (data, type);
                             }


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


Mime
View raw message