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

Hudson commented on MAPREDUCE-3681:
-----------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #425 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/425/])
    Merge -c 1235103 from trunk to branch-0.23 to fix MAPREDUCE-3681. Fixed 
computation of queue's usedCapacity.

acmurthy : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235104
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* 
/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/LeafQueue.java
* 
/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/ParentQueue.java
* 
/hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestParentQueue.java

                
> capacity scheduler LeafQueues calculate used capacity wrong
> -----------------------------------------------------------
>
>                 Key: MAPREDUCE-3681
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3681
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Thomas Graves
>            Assignee: Arun C Murthy
>            Priority: Critical
>         Attachments: MAPREDUCE-3681.patch, MAPREDUCE-3681.patch, 
> MAPREDUCE-3681.patch
>
>
> In the Capacity scheduler if you configure the queues to be hierarchical 
> where you have root -> parent queue -> leaf queue, the leaf queue doesn't 
> calculate the used capacity properly. It seems to be using the entire cluster 
> memory rather then its parents memory capacity. 
> In updateResource in LeafQueue:
>     setUsedCapacity(
>         usedResources.getMemory() / (clusterResource.getMemory() * capacity));
> I think the clusterResource.getMemory() should be something like 
> getParentsMemory().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to