YARN-10640. Adjust the queue Configured capacity to Configured weight number for weight mode in UI. Contributed by Qi Zhu.
This commit is contained in:
parent
0774116756
commit
e82e7c597a
@ -159,8 +159,12 @@ private void renderQueueCapacityInfo(ResponseInfo ri, String label) {
|
||||
__("Used Capacity:",
|
||||
appendPercent(resourceUsages.getUsed(),
|
||||
capacities.getUsedCapacity() / 100))
|
||||
.__("Configured Capacity:",
|
||||
capacities.getConfiguredMinResource() == null ?
|
||||
.__(capacities.getWeight() != -1 ?
|
||||
"Configured Weight:" :
|
||||
"Configured Capacity:",
|
||||
capacities.getWeight() != -1 ?
|
||||
capacities.getWeight() :
|
||||
capacities.getConfiguredMinResource() == null ?
|
||||
Resources.none().toString() :
|
||||
capacities.getConfiguredMinResource().toString())
|
||||
.__("Configured Max Capacity:",
|
||||
|
Loading…
Reference in New Issue
Block a user