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.
This commit is contained in:
parent
6fe6a72352
commit
8137254a1f
@ -221,8 +221,7 @@ protected void render(Block html) {
|
||||
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
Block a user