You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "sandflee (JIRA)" <ji...@apache.org> on 2016/06/15 04:27:09 UTC
[jira] [Commented] (YARN-5254) capacity scheduler could only
allocate a container with 1 vcore if using DefautResourceCalculator
[ 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org