Peter Bacsko commented on YARN-9930:

_"Thanks Peter Bacsko, it will be make sense to create a one-pager doc and talk 
about what is the behavior looks like."_

Yes, the upstream documentation should be updated. Either in this ticket or in 
a follow-up JIRA.


_"For example, how this feature related to maximum-am-limit."_

It's completely unrelated. If the app attempt is allowed to pass through by 
{{CSMaxRunningAppsEnforcer}}, only then comes the max AM percent check, which 
can still put the attempt on hold.

The order is: max number of apps --> max number of running apps --> max AM 


_"And how refreshQueue works with this feature (increase #running-app-limit 
seems fine, but how about shrink #running-app-limit?)."_

There is already a test for refreshQueue when you increase it. When you 
decrease, I think running apps still keep running, but new submissions are not 
accepted until the necessary condition is satisfied, but I have to try this out.

> Support max running app logic for CapacityScheduler
> ---------------------------------------------------
>                 Key: YARN-9930
>                 URL: https://issues.apache.org/jira/browse/YARN-9930
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacity scheduler, capacityscheduler
>    Affects Versions: 3.1.0, 3.1.1
>            Reporter: zhoukang
>            Assignee: Peter Bacsko
>            Priority: Major
>         Attachments: YARN-9930-001.patch, YARN-9930-002.patch, 
> YARN-9930-003.patch, YARN-9930-004.patch, YARN-9930-POC01.patch, 
> YARN-9930-POC02.patch, YARN-9930-POC03.patch, YARN-9930-POC04.patch, 
> YARN-9930-POC05.patch, screenshot-1.png
> In FairScheduler, there has limitation for max running which will let 
> application pending.
> But in CapacityScheduler there has no feature like max running app.Only got 
> max app,and jobs will be rejected directly on client.
> This jira i want to implement this semantic for CapacityScheduler.

This message was sent by Atlassian Jira

To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to