[ https://issues.apache.org/jira/browse/YARN-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13681103#comment-13681103 ]
Hudson commented on YARN-795: ----------------------------- Integrated in Hadoop-Yarn-trunk #238 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/238/]) YARN-795. Fair scheduler queue metrics should subtract allocated vCores from available vCores. (ywskycn via tucu) (Revision 1492021) Result = SUCCESS tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1492021 Files : * /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt * /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/QueueMetrics.java * /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/fair/TestFairScheduler.java > Fair scheduler queue metrics should subtract allocated vCores from available > vCores > ----------------------------------------------------------------------------------- > > Key: YARN-795 > URL: https://issues.apache.org/jira/browse/YARN-795 > Project: Hadoop YARN > Issue Type: Bug > Components: scheduler > Affects Versions: 2.0.2-alpha > Reporter: Wei Yan > Assignee: Wei Yan > Fix For: 2.1.0-beta > > Attachments: YARN-795-2.patch, YARN-795.patch > > > The queue metrics of fair scheduler doesn't subtract allocated vCores from > available vCores, causing the available vCores returned is incorrect. > This is happening because {code}QueueMetrics.getAllocateResources(){code} > doesn't return the allocated vCores. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira