Carlo Curino commented on YARN-3969:

Subru, this patch makes sense to me. The behavior you describe is the intended 
one, as we discussed.  

One nit: 
please extend the tests to validate that the maxApplications is and stays set 
correctly, so we defend against future evolution of the code that might miss 
this subtle case.  

> Allow jobs to be submitted to reservation that is active but does not have 
> any allocations
> ------------------------------------------------------------------------------------------
>                 Key: YARN-3969
>                 URL: https://issues.apache.org/jira/browse/YARN-3969
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: capacityscheduler, fairscheduler, resourcemanager
>            Reporter: Subru Krishnan
>            Assignee: Subru Krishnan
>         Attachments: YARN-3969-v1.patch
> YARN-1051 introduces the notion of reserving resources prior to job 
> submission. A reservation is active from its arrival time to deadline but in 
> the interim there can be instances of time when it does not have any 
> resources allocated. We reject jobs that are submitted when the reservation 
> allocation is zero. Instead we should accept & queue the jobs till the 
> resources become available.

This message was sent by Atlassian JIRA

Reply via email to