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

Carlo Curino commented on YARN-5328:
------------------------------------

Thanks [~subru].
I was testing this further by extending {{TestNoOverCommitPolicy}}  to include 
periodic reservations as well, as part of YARN-5330. 

I think we are missing:
{code}
      // remove periodic component
      netAvailable = RLESparseResourceAllocation.merge(resCalc,
              Resources.clone(totalCapacity), netAvailable, periodicRle,
              RLEOperator.subtractTestNonNegative, start, end);
{code}

As part of {{InMemoryPlan.getAvailableResourceOverTime(..)}}.  I will test this 
further. 

 

> InMemoryPlan enhancements required to support recurring reservations in the 
> YARN ReservationSystem
> --------------------------------------------------------------------------------------------------
>
>                 Key: YARN-5328
>                 URL: https://issues.apache.org/jira/browse/YARN-5328
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: resourcemanager
>            Reporter: Subru Krishnan
>            Assignee: Subru Krishnan
>         Attachments: YARN-5328-v1.patch, YARN-5328-v2.patch
>
>
> YARN-5326 proposes adding native support for recurring reservations in the 
> YARN ReservationSystem. This JIRA is a sub-task to track the changes required 
> in InMemoryPlan to accomplish it. Please refer to the design doc in the 
> parent JIRA for details.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to