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 "Craig Welch (JIRA)" <ji...@apache.org> on 2015/05/01 21:51:06 UTC
[jira] [Commented] (YARN-3153) Capacity Scheduler max AM resource
limit for queues is defined as percentage but used as ratio
[ https://issues.apache.org/jira/browse/YARN-3153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14523794#comment-14523794 ]
Craig Welch commented on YARN-3153:
-----------------------------------
I think
{code}
yarn.scheduler.capacity.maximum-am-capacity-per-queue
{code}
should just be
{code}
yarn.scheduler.capacity.maximum-am-capacity
{code}
I don't know that we need the inheritance part - I think that the default per cluster + override per queue is sufficient.
I think there will be some complexity around handling while both are present - which takes precedence if both are there? Instead of just taking a setting with fallback to default, I think we'll need to check if either is specified, with the new setting taking priority, and if neither is specified then fallback to the default (which is the effectively same either way...)
> Capacity Scheduler max AM resource limit for queues is defined as percentage but used as ratio
> ----------------------------------------------------------------------------------------------
>
> Key: YARN-3153
> URL: https://issues.apache.org/jira/browse/YARN-3153
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Wangda Tan
> Assignee: Wangda Tan
> Priority: Critical
>
> In existing Capacity Scheduler, it can limit max applications running within a queue. The config is yarn.scheduler.capacity.maximum-am-resource-percent, but actually, it is used as "ratio", in implementation, it assumes input will be \[0,1\]. So now user can specify it up to 100, which makes AM can use 100x of queue capacity. We should fix that.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)