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

(cherry picked from commit 060cdcbe5d)
This commit is contained in:
Jason Lowe 2015-11-20 23:12:29 +00:00
parent b7e3f419bd
commit f3bca8bc1a
2 changed files with 4 additions and 2 deletions

View File

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

@ -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").