YARN-2540. FairScheduler: Queue filters not working on scheduler page in RM UI. (Ashwin Shankar via kasha)

This commit is contained in:
Karthik Kambatla 2014-09-22 15:40:47 -07:00
parent 912ad32b03
commit 23e17ce0ff
2 changed files with 6 additions and 3 deletions

View File

@ -415,6 +415,9 @@ Release 2.6.0 - UNRELEASED
YARN-2453. TestProportionalCapacityPreemptionPolicy fails with YARN-2453. TestProportionalCapacityPreemptionPolicy fails with
FairScheduler. (Zhihai Xu via kasha) FairScheduler. (Zhihai Xu via kasha)
YARN-2540. FairScheduler: Queue filters not working on scheduler page in
RM UI. (Ashwin Shankar via kasha)
Release 2.5.1 - 2014-09-05 Release 2.5.1 - 2014-09-05
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -220,9 +220,9 @@ public void render(Block html) {
" }", " }",
" });", " });",
" $('#cs').bind('select_node.jstree', function(e, data) {", " $('#cs').bind('select_node.jstree', function(e, data) {",
" var q = $('.q', data.rslt.obj).first().text();", " var queues = $('.q', data.rslt.obj);",
" if (q == 'root') q = '';", " var q = '^' + queues.first().text();",
" else q = '^' + q.substr(q.lastIndexOf('.') + 1) + '$';", " q += queues.length == 1 ? '$' : '\\\\.';",
" $('#apps').dataTable().fnFilter(q, 4, true);", " $('#apps').dataTable().fnFilter(q, 4, true);",
" });", " });",
" $('#cs').show();", " $('#cs').show();",