hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3932) SchedulerApplicationAttempt#getResourceUsageReport and UserInfo should based on total-used-resources
Date Wed, 22 Jul 2015 19:07:06 GMT

    [ https://issues.apache.org/jira/browse/YARN-3932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14637455#comment-14637455
] 

Hudson commented on YARN-3932:
------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #8202 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/8202/])
YARN-3932. SchedulerApplicationAttempt#getResourceUsageReport and UserInfo should based on
total-used-resources. (Bibin A Chundatt via wangda) (wangda: rev 76ec26de8099dc48ce3812c595b7ab857a600442)
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestCapacitySchedulerNodeLabelUpdate.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
* hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/SchedulerApplicationAttempt.java
* hadoop-yarn-project/CHANGES.txt


> SchedulerApplicationAttempt#getResourceUsageReport and UserInfo should based on total-used-resources
> ----------------------------------------------------------------------------------------------------
>
>                 Key: YARN-3932
>                 URL: https://issues.apache.org/jira/browse/YARN-3932
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Bibin A Chundatt
>            Assignee: Bibin A Chundatt
>             Fix For: 2.8.0
>
>         Attachments: 0001-YARN-3932.patch, 0002-YARN-3932.patch, 0003-YARN-3932.patch,
0004-YARN-3932.patch, 0005-YARN-3932.patch, 0006-YARN-3932.patch, ApplicationReport.jpg, TestResult.jpg
>
>
> Application Resource Report shown wrong when node Label is used.
> 1.Submit application with NodeLabel
> 2.Check RM UI for resources used 
> Allocated CPU VCores and Allocated Memory MB is always {{zero}}
> {code}
>  public synchronized ApplicationResourceUsageReport getResourceUsageReport() {
>     AggregateAppResourceUsage runningResourceUsage =
>         getRunningAggregateAppResourceUsage();
>     Resource usedResourceClone =
>         Resources.clone(attemptResourceUsage.getUsed());
>     Resource reservedResourceClone =
>         Resources.clone(attemptResourceUsage.getReserved());
>     return ApplicationResourceUsageReport.newInstance(liveContainers.size(),
>         reservedContainers.size(), usedResourceClone, reservedResourceClone,
>         Resources.add(usedResourceClone, reservedResourceClone),
>         runningResourceUsage.getMemorySeconds(),
>         runningResourceUsage.getVcoreSeconds());
>   }
> {code}
> should be {{attemptResourceUsage.getUsed(label)}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message