hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-2011) Typo in TestLeafQueue
Date Thu, 01 May 2014 04:20:14 GMT

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

Akira AJISAKA commented on YARN-2011:
-------------------------------------

+1 (non-binding)

> Typo in TestLeafQueue
> ---------------------
>
>                 Key: YARN-2011
>                 URL: https://issues.apache.org/jira/browse/YARN-2011
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: Chen He
>            Assignee: Chen He
>            Priority: Trivial
>         Attachments: 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