Skip to content

Commit aea73be

Browse files
John Leesrowen
authored andcommitted
[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 <[email protected]> Closes #18036 from yoonlee95/SPARK-20813.
1 parent f1ffc6e commit aea73be

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/src/main/resources/org/apache/spark/ui/static/executorspage.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ function getThreadDumpEnabled() {
2626
}
2727

2828
function formatStatus(status, type) {
29-
if (type !== 'display') return status;
3029
if (status) {
3130
return "Active"
3231
} else {
@@ -417,7 +416,6 @@ $(document).ready(function () {
417416
},
418417
{data: 'hostPort'},
419418
{data: 'isActive', render: function (data, type, row) {
420-
if (type !== 'display') return data;
421419
if (row.isBlacklisted) return "Blacklisted";
422420
else return formatStatus (data, type);
423421
}

0 commit comments

Comments
 (0)