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] [Updated] (YARN-2011) Fix typo and warning in TestLeafQueue
Date Sun, 11 May 2014 15:10:15 GMT

     [ https://issues.apache.org/jira/browse/YARN-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Junping Du updated YARN-2011:
-----------------------------

    Summary: Fix typo and warning in TestLeafQueue  (was: Typo in TestLeafQueue)

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