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-2111) In FairScheduler.attemptScheduling, we don't count containers as assigned if they have 0 memory but non-zero cores
Date Wed, 25 Jun 2014 16:18:32 GMT

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

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

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1812 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1812/])
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
>             Fix For: 2.5.0
>
>         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)

Mime
View raw message