hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2011) Typo in TestLeafQueue
Date Sun, 11 May 2014 01:53:15 GMT

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

Junping Du commented on YARN-2011:
----------------------------------

Patch looks good to me. +1 pending on Jenkins result.

> Typo 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
>         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