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-2011) Fix typo and warning in TestLeafQueue
Date Mon, 12 May 2014 18:29:10 GMT

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

Hudson commented on YARN-2011:
------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #5603 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/5603/])
YARN-2011. Fix typo and warning in TestLeafQueue (Contributed by Chen He) (junping_du: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1593804)
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /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/capacity/TestLeafQueue.java


> Fix typo and warning in TestLeafQueue
> -------------------------------------
>
>                 Key: YARN-2011
>                 URL: https://issues.apache.org/jira/browse/YARN-2011
>             Project: Hadoop YARN
>          Issue Type: Test
>    Affects Versions: 2.4.0
>            Reporter: Chen He
>            Assignee: Chen He
>            Priority: Trivial
>             Fix For: 2.5.0
>
>         Attachments: YARN-2011-v2.patch, YARN-2011.patch
>
>
> a.assignContainers(clusterResource, node_0);
>     assertEquals(2*GB, a.getUsedResources().getMemory());
>     assertEquals(2*GB, app_0.getCurrentConsumption().getMemory());
>     assertEquals(0*GB, app_1.getCurrentConsumption().getMemory());
>     assertEquals(0*GB, app_0.getHeadroom().getMemory()); // User limit = 2G
>     assertEquals(0*GB, app_0.getHeadroom().getMemory()); // User limit = 2G
>     // Again one to user_0 since he hasn't exceeded user limit yet
>     a.assignContainers(clusterResource, node_0);
>     assertEquals(3*GB, a.getUsedResources().getMemory());
>     assertEquals(2*GB, app_0.getCurrentConsumption().getMemory());
>     assertEquals(1*GB, app_1.getCurrentConsumption().getMemory());
>     assertEquals(0*GB, app_0.getHeadroom().getMemory()); // 3G - 2G
>     assertEquals(0*GB, app_0.getHeadroom().getMemory()); // 3G - 2G



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

Mime
View raw message