From 888ab4a6e782f9fa3a39fc084888bcaa1bfa103f Mon Sep 17 00:00:00 2001 From: Jian He Date: Tue, 25 Nov 2014 16:16:56 -0800 Subject: [PATCH] YARN-2906. CapacitySchedulerPage shows HTML tags for a queue's Active Users. Contributed by Jason Lowe (cherry picked from commit 8a7ca13b13c0c3f008a6490cc96d4d48a051d1f7) (cherry picked from commit ae35b0e14d3438237f4b5d3b5d5268d45e549846) (cherry picked from commit 65acee3e19a147e5c5a8688319ab75357bdf51b5) --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../server/resourcemanager/webapp/CapacitySchedulerPage.java | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index 700101c0238..382383d68db 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -24,6 +24,9 @@ Release 2.6.1 - UNRELEASED YARN-2865. Fixed RM to always create a new RMContext when transtions from StandBy to Active. (Rohith Sharmaks via jianhe) + YARN-2906. CapacitySchedulerPage shows HTML tags for a queue's Active Users. + (Jason Lowe via jianhe) + Release 2.6.0 - 2014-11-18 INCOMPATIBLE CHANGES diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java index d289f66d1a8..89b4a78430c 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java @@ -120,8 +120,8 @@ class CapacitySchedulerPage extends RmView { _("Configured Max Capacity:", percent(lqinfo.getMaxCapacity() / 100)). _("Configured Minimum User Limit Percent:", Integer.toString(lqinfo.getUserLimit()) + "%"). _("Configured User Limit Factor:", String.format("%.1f", lqinfo.getUserLimitFactor())). - _("Active Users: ", activeUserList.toString()). - _r("Accessible Node Labels:", StringUtils.join(",", lqinfo.getNodeLabels())); + _r("Active Users: ", activeUserList.toString()). + _("Accessible Node Labels:", StringUtils.join(",", lqinfo.getNodeLabels())); html._(InfoBlock.class);