You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Zhijie Shen (JIRA)" <ji...@apache.org> on 2014/07/16 10:49:04 UTC

[jira] [Resolved] (YARN-2282) Does hadoop 2.4 support resource allocation to container for cpu cores ?

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

Zhijie Shen resolved YARN-2282.
-------------------------------

    Resolution: Invalid

Please ask questions via hadoop user mailing list: user\@hadoop.apache.org

To this question:

Which scheduler do you use? Would you please check you configuration? Make sure you're using DominantResourceCalculator instead of DefaultResourceCalculator. Otherwise, when normalizing a request, the vcore field will be reset to 1.

> Does hadoop 2.4 support resource allocation to container for cpu cores ?
> ------------------------------------------------------------------------
>
>                 Key: YARN-2282
>                 URL: https://issues.apache.org/jira/browse/YARN-2282
>             Project: Hadoop YARN
>          Issue Type: Task
>          Components: resourcemanager
>    Affects Versions: 2.4.0
>            Reporter: Smita Deshpande
>              Labels: performance
>
> AppMasterStdout logs following statement 
> - Launching shell command on a new container., containerId=container_1404840303795_0002_01_002572,  containerResourceMemory4096, containerResourceVirtualCores1, containerTokenjava.nio.HeapByteBuffer[pos=0 lim=75 cap=75]
> But i have specified memory=4096 and cpu cores=2 as input to container, but it is taking containerResourceVirtualCores = 1



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