Siqi Li commented on YARN-3176:

[~ashwinshankar77], I don't think the sample alloc is a good example. The 
maxRunningApps for root is usually set to a very high value, since it is the 
limit of concurrent running apps of the whole cluster. Also, using your sample 
alloc file still has some problem, the fairScheduler UI would show a 
Integer.MAX_VALUE as the max running apps of a child. Which is confusing for 
the user, since MaxRunningAppsEnforcer.canAppBeRunnable() does limit the 
running apps of a child to be less than their parent.

[~asuresh], I could open several related JIRA to broaden the scope of this one, 
but I think directly inherit parent property is simple and straightforward. 
Since the real problem is if the queueMaxAppsDefault is not set or set to a 
large value, the child could end up with more running apps than its parent.

> In Fair Scheduler, child queue should inherit maxApp from its parent
> --------------------------------------------------------------------
>                 Key: YARN-3176
>                 URL: https://issues.apache.org/jira/browse/YARN-3176
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Siqi Li
>            Assignee: Siqi Li
>         Attachments: YARN-3176.v1.patch, YARN-3176.v2.patch
> if the child queue does not have a maxRunningApp limit, it will use the 
> queueMaxAppsDefault. This behavior is not quite right, since 
> queueMaxAppsDefault is normally a small number, whereas some parent queues do 
> have maxRunningApp set to be more than the default

This message was sent by Atlassian JIRA

Reply via email to