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:28:56 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2.8 99b7ced3b -> b41a70275


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

Branch: refs/heads/branch-2.8
Commit: b41a702751c8bafaf1dd435f22ebd8bc0fa67fee
Parents: 99b7ced
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:58:42 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/b41a7027/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 ab01e87..46639ff 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
@@ -220,8 +220,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