Subru Krishnan commented on YARN-3736:

Thanks [~asuresh] for reviewing the patch.

Regarding (2) - we are adding the APIs for adding/updating/reservations in this 
JIRA. When we integrate with the Plan (_archiveCompletedReservations_) in 
YARN-3985, we will handle garbage collection. Additionally the number of 
reservations should practically be much less than number of applications as 
mainly SLA applications will be using reservations and moreover you can submit 
multiple applications (Tez,Oozie, Hive/Pig DAG) to a single reservation. So the 
number of reservation znodes should be manageable.

> Add RMStateStore apis to store and load accepted reservations for failover
> --------------------------------------------------------------------------
>                 Key: YARN-3736
>                 URL: https://issues.apache.org/jira/browse/YARN-3736
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacityscheduler, fairscheduler, resourcemanager
>            Reporter: Subru Krishnan
>            Assignee: Anubhav Dhoot
>         Attachments: YARN-3736.001.patch, YARN-3736.001.patch, 
> YARN-3736.002.patch, YARN-3736.003.patch
> We need to persist the current state of the plan, i.e. the accepted 
> ReservationAllocations & corresponding RLESpareseResourceAllocations  to the 
> RMStateStore so that we can recover them on RM failover. This involves making 
> all the reservation system data structures protobuf friendly.

This message was sent by Atlassian JIRA

Reply via email to