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:27:49 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 34040e8d7 -> 045526aca


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/045526ac
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/045526ac
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/045526ac

Branch: refs/heads/branch-2
Commit: 045526aca13a6f6f296358cf670f7193febfa3ca
Parents: 34040e8
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:44:33 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/045526ac/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 afb4e12..02a3079 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