hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aengin...@apache.org
Subject [47/50] [abbrv] hadoop git commit: YARN-4374. RM capacity scheduler UI rounds user limit factor. Contributed by Chang Li
Date Sat, 21 Nov 2015 07:56:51 GMT
YARN-4374. RM capacity scheduler UI rounds user limit factor. Contributed by Chang Li


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

Branch: refs/heads/HDFS-7240
Commit: 060cdcbe5db56383e74e282ac61eedff8248c11b
Parents: 4539131
Author: Jason Lowe <jlowe@apache.org>
Authored: Fri Nov 20 23:12:29 2015 +0000
Committer: Jason Lowe <jlowe@apache.org>
Committed: Fri Nov 20 23:12:29 2015 +0000

----------------------------------------------------------------------
 hadoop-yarn-project/CHANGES.txt                                   | 3 +++
 .../yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java | 3 +--
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/060cdcbe/hadoop-yarn-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt
index bd1b1f6..9a8fd93 100644
--- a/hadoop-yarn-project/CHANGES.txt
+++ b/hadoop-yarn-project/CHANGES.txt
@@ -1073,6 +1073,9 @@ Release 2.7.3 - UNRELEASED
 
     YARN-4347. Resource manager fails with Null pointer exception. (Jian He via wangda)
 
+    YARN-4374. RM capacity scheduler UI rounds user limit factor (Chang Li via
+    jlowe)
+
 Release 2.7.2 - UNRELEASED
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/060cdcbe/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java
----------------------------------------------------------------------
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 66f2cac..1cedac4 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
@@ -157,8 +157,7 @@ class CapacitySchedulerPage extends RmView {
       _("Used Application Master Resources:", lqinfo.getUsedAMResource().toString()).
       _("Max Application Master Resources Per User:", lqinfo.getUserAMResourceLimit().toString()).
       _("Configured Minimum User Limit Percent:", Integer.toString(lqinfo.getUserLimit())
+ "%").
-      _("Configured User Limit Factor:", StringUtils.format(
-          "%.1f", lqinfo.getUserLimitFactor())).
+      _("Configured User Limit Factor:", lqinfo.getUserLimitFactor()).
       _("Accessible Node Labels:", StringUtils.join(",", lqinfo.getNodeLabels())).
       _("Ordering Policy: ", lqinfo.getOrderingPolicyInfo()).
       _("Preemption:", lqinfo.getPreemptionDisabled() ? "disabled" : "enabled").


Mime
View raw message