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

Hudson commented on YARN-2111:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #5762 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/5762/])
YARN-2111. In FairScheduler.attemptScheduling, we don't count containers as 
assigned if they have 0 memory but non-zero cores (Sandy Ryza) (sandy: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1605113)
* /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/fair/FairScheduler.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


> In FairScheduler.attemptScheduling, we don't count containers as assigned if 
> they have 0 memory but non-zero cores
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-2111
>                 URL: https://issues.apache.org/jira/browse/YARN-2111
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 2.4.0
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>         Attachments: YARN-2111.patch
>
>
> {code}
>         if (Resources.greaterThan(RESOURCE_CALCULATOR, clusterResource,
>               queueMgr.getRootQueue().assignContainer(node),
>               Resources.none())) {
> {code}
> As RESOURCE_CALCULATOR is a DefaultResourceCalculator, we won't take cores 
> here into account.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to