YARN-4374. RM capacity scheduler UI rounds user limit factor. Contributed by Chang Li

(cherry picked from commit 060cdcbe5d)

Conflicts:

	hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java
This commit is contained in:
Jason Lowe 2015-11-20 23:25:27 +00:00
parent eb9296d316
commit 9074714a18
2 changed files with 4 additions and 1 deletions

View File

@ -19,6 +19,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

View File

@ -90,7 +90,7 @@ class CapacitySchedulerPage extends RmView {
_("Configured Capacity:", percent(lqinfo.getCapacity() / 100)).
_("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())).
_("Configured User Limit Factor:", lqinfo.getUserLimitFactor()).
_("Accessible Node Labels:", StringUtils.join(",", lqinfo.getNodeLabels())).
_("Preemption:", lqinfo.getPreemptionDisabled() ? "disabled" : "enabled");