[
https://issues.apache.org/jira/browse/YARN-10124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17034337#comment-17034337
]
Prabhu Joseph commented on YARN-10124:
--------------------------------------
Interesting, this will be helpful. There is a difference in usability between
both cases A) STOP a queue and then utilize the capacity of STOPPED queue for
sibling queues and B) set parent queue capacity to 0 and utilize the capacity
for sibling queues.
In case A, user has to wait for queue to be STOPPED completely from DRAINING
state and then increase sibling queue capacities. Setting capacity to 0 when
queue is in DRAINING state can cause preemption of containers of running apps.
In case B, user need not wait, both set parent queue capacity to 0 and update
sibling queue capacities can be done at a time.
Would like to have both cases. If you are fine with above, will handle case B
as part of this Jira and create another Jira for case A.
> Remove restriction of ParentQueue capacity zero when childCapacities > 0
> ------------------------------------------------------------------------
>
> Key: YARN-10124
> URL: https://issues.apache.org/jira/browse/YARN-10124
> Project: Hadoop YARN
> Issue Type: Bug
> Components: capacity scheduler
> Affects Versions: 3.3.0
> Reporter: Prabhu Joseph
> Assignee: Prabhu Joseph
> Priority: Major
> Attachments: YARN-10124-001.patch
>
>
> ParentQueue capacity cannot be set to 0 when child capacities > 0. To disable
> a parent queue temporarily, user can only STOP the queue but the capacity of
> the queue cannot be used for other queues. Allowing 0 capacity for parent
> queue will allow user to use the capacity for other queues and also to retain
> the child queue capacity values. (else user has to set all child queue
> capacities to 0)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]