YARN-7245. Max AM Resource column in Active Users Info section of Capacity Scheduler UI page should be updated per-user. Contributed by Eric Payne.
(cherry picked from commit 8137254a1f
)
This commit is contained in:
parent
7dfe97d84f
commit
84e2e2a6f6
|
@ -221,8 +221,7 @@ class CapacitySchedulerPage extends RmView {
|
|||
ArrayList<UserInfo> users = lqinfo.getUsers().getUsersList();
|
||||
for (UserInfo userInfo : users) {
|
||||
ResourceInfo resourcesUsed = userInfo.getResourcesUsed();
|
||||
PartitionResourcesInfo resourceUsages = lqinfo
|
||||
.getResources()
|
||||
PartitionResourcesInfo resourceUsages = userInfo.getResourceUsageInfo()
|
||||
.getPartitionResourceUsageInfo((nodeLabel == null) ? "" : nodeLabel);
|
||||
if (nodeLabel != null) {
|
||||
resourcesUsed = userInfo.getResourceUsageInfo()
|
||||
|
|
Loading…
Reference in New Issue