hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sandflee (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5254) capacity scheduler could only allocate a container with 1 vcore if using DefautResourceCalculator
Date Wed, 15 Jun 2016 04:27:09 GMT

    [ 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


Mime
View raw message