YARN-4109. Exception on RM scheduler page loading with labels. (Mohammad Shahid Khan via rohithsharmaks)

(cherry picked from commit 8c180a13c8)
This commit is contained in:
rohithsharmaks 2015-12-23 09:12:32 +05:30
parent 0d249a5e28
commit 08ddb536eb
2 changed files with 4 additions and 1 deletions

View File

@ -22,6 +22,9 @@ Release 2.9.0 - UNRELEASED
BUG FIXES BUG FIXES
YARN-4109. Exception on RM scheduler page loading with labels.
(Mohammad Shahid Khan via rohithsharmaks)
Release 2.8.0 - UNRELEASED Release 2.8.0 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -408,7 +408,7 @@ public void render(Block html) {
used > 1 ? Q_OVER : Q_UNDER))._(".")._(). used > 1 ? Q_OVER : Q_UNDER))._(".")._().
span(".q", partitionUiTag)._(). span(".q", partitionUiTag)._().
span().$class("qstats").$style(left(Q_STATS_POS)). span().$class("qstats").$style(left(Q_STATS_POS)).
_(join(percent(used), " used"))._(); _(join(percent(used), " used"))._()._();
//for the queue hierarchy under label //for the queue hierarchy under label
UL<Hamlet> underLabel = html.ul("#pq"); UL<Hamlet> underLabel = html.ul("#pq");