Carlo Curino commented on YARN-3454:

Adding a capacity reservation (e.g., 10 containers) between time 10 and 20, and 
then removing the same containers from an interval between 12-18 does not work 
correctly. Only exact interval match work. This is normally not exercised in 
the Reservation sub-system, but for further enhancements we are working on this 
is needed. More generally this is a bug we should get rid off.  

> RLESparseResourceAllocation does not handle removal of partial intervals
> ------------------------------------------------------------------------
>                 Key: YARN-3454
>                 URL: https://issues.apache.org/jira/browse/YARN-3454
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>    Affects Versions: 2.6.0
>            Reporter: Carlo Curino
> The RLESparseResourceAllocation.removeInterval(...) method handles well exact 
> match interval removals, but does not handles correctly partial overlaps. 

This message was sent by Atlassian JIRA

Reply via email to