[ 
https://issues.apache.org/jira/browse/YARN-10084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17025320#comment-17025320
 ] 

Eric Payne commented on YARN-10084:
-----------------------------------

[~Jim_Brennan] and [~ebadger], thanks for your review so far!

I've uploaded version 006 of the patch for trunk. There was a bug in how the 
default app lifetime was being inherited. if the default app lifetime is ever 
explicitly set in a queue's parent hierarchy, then that default value should be 
inherited unless it would go over the max lifetime of the child queue. If the 
default value is never explicitly set in the hierarchy, then set the default 
for the child queue to be its max lifetime.
I also made a minor change in the UT to make checking of {{totalTimeRun}} 
consistent with the other tests.

> Allow inheritance of max app lifetime / default app lifetime
> ------------------------------------------------------------
>
>                 Key: YARN-10084
>                 URL: https://issues.apache.org/jira/browse/YARN-10084
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: capacity scheduler
>    Affects Versions: 2.10.0, 3.2.1, 3.1.3
>            Reporter: Eric Payne
>            Assignee: Eric Payne
>            Priority: Major
>         Attachments: YARN-10084.001.patch, YARN-10084.002.patch, 
> YARN-10084.003.patch, YARN-10084.004.patch, YARN-10084.005.patch, 
> YARN-10084.006.patch, YARN-10084.branch-2.10.005.patch, 
> YARN-10084.branch-3.1.005.patch, YARN-10084.branch-3.2.005.patch
>
>
> Currently, {{maximum-application-lifetime}} and 
> {{default-application-lifetime}} must be set for each leaf queue. If it is 
> not set for a particular leaf queue, then there will be no time limit on apps 
> running in that queue. It should be possible to set 
> {{yarn.scheduler.capacity.root.maximum-application-lifetime}} for the root 
> queue and allow child queues to override that value if desired.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
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