hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject hadoop git commit: 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.
Date Mon, 09 Oct 2017 09:13:42 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-3.0 7dfe97d84 -> 84e2e2a6f


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 8137254a1f4367974bf1883f1982e31ab2865107)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/84e2e2a6
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/84e2e2a6
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/84e2e2a6

Branch: refs/heads/branch-3.0
Commit: 84e2e2a6f6db0e1e5f447e41cf956a1c93fd8cd7
Parents: 7dfe97d
Author: Sunil G <sunilg@apache.org>
Authored: Mon Oct 9 14:39:41 2017 +0530
Committer: Sunil G <sunilg@apache.org>
Committed: Mon Oct 9 14:40:44 2017 +0530

----------------------------------------------------------------------
 .../yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/84e2e2a6/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java
index 3c00cb8..74b4e79 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java
@@ -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()


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message