Wangda Tan commented on YARN-4003:

[~curino], is it possible to compute reservationQueue.amLimit = 
(parentQueue.capacity - Σ(parentQueue.children.capacity) + 
reservationQueue.capacity) * am-limit-percent?
Since parentQueue.capacity can be more than sum(children.capacity) for 
reservation system, we can let each child compute am-limit according to 
"non-allocated" capacity of parentQueue, but we should exclude 
"already-allocated" capacity of parentQueue.


> ReservationQueue inherit getAMResourceLimit() from LeafQueue, but behavior is 
> not consistent
> --------------------------------------------------------------------------------------------
>                 Key: YARN-4003
>                 URL: https://issues.apache.org/jira/browse/YARN-4003
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Carlo Curino
>         Attachments: YARN-4003.patch
> The inherited behavior from LeafQueue (limit AM % based on capacity) is not a 
> good fit for ReservationQueue (that have highly dynamic capacity). 

This message was sent by Atlassian JIRA

Reply via email to