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

This commit is contained in:
Jason Lowe 2015-11-20 23:12:29 +00:00
parent 4539131102
commit 060cdcbe5d
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -157,8 +157,7 @@ private void renderCommonLeafQueueInfo(ResponseInfo ri) {
_("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").