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

Prabhu Joseph commented on YARN-10124:
--------------------------------------

[~wilfreds] Sorry for confusion between soft (capacity) and hard limit 
(maxCapacity) of a queue. Below is the answer to your previous question

bq. How does it affect the capacity calculation, i.e. is the queue now always 
below or above its (hard)limits?

2. Any queue irrespective of capacity 0 or any other value will be always below 
or equal  to its maxCapacity (hard limit). i.e, it can expand up to maxCapacity 
when the cluster is idle. If the queue capacity (soft limit) is 0, then any 
used resources by the queue are preemptible at any time.




> 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: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to