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

sandflee commented on YARN-5254:
--------------------------------

vcore info is droped by DefaultResourceCalculator while normalize resource 
request in allocate() ,  we can:
1, change  DefaultResourceCalculator#normalize()
2, use DefaultResourceCalculator to normalize resource request like 
fairscheduler

use 2, and update a patch

>  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