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

Sandy Ryza commented on YARN-795:
---------------------------------

Thanks for working on this, Wei.  The patch looks good.  My only nit is that 
there's an unnecessary whitespace change in TestFairScheduler.
                
> 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
>         Attachments: 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

Reply via email to