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

Varun Vasudev commented on YARN-5254:
-------------------------------------

[~sandflee] - the behaviour to ignore vcores in DefaultResourceCalculator is by 
design. If you wish to take vcores into account with CapacityScheduler, you can 
change the calculator in capacity-scheduler.xml by setting 
yarn.scheduler.capacity.resource-calculator to 
org.apache.hadoop.yarn.util.resource.DominantResourceCalculator. 

>  capacity scheduler could only allocate a container with 1 vcore  if using 
> DefautResourceCalculator
> ---------------------------------------------------------------------------------------------------
>
>                 Key: YARN-5254
>                 URL: https://issues.apache.org/jira/browse/YARN-5254
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: sandflee
>            Assignee: sandflee
>         Attachments: YARN-5254.01.patch
>
>
> 1, capacity scheduler use DefaultResourceCalculator
> 2, start distributeshell with args -container_vcores 2
> 3, could only get the container with vcores 1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to