Karthik Kambatla commented on YARN-3643:

[~varun_saxena] - thanks for pointing that out. My bad - I was under the 
assumption the config we have was for the maximum number of apps in the store. 
Looks like the config defines the max number of *completed* apps. So, one could 
set it to *0* to achieve the JIRA's goal.

We could close this JIRA as Invalid or may be just add a test to verify setting 
to *0* leads to the intended behavior. 

> Provide a way to store only running applications in the state store
> -------------------------------------------------------------------
>                 Key: YARN-3643
>                 URL: https://issues.apache.org/jira/browse/YARN-3643
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>    Affects Versions: 2.7.0
>            Reporter: Karthik Kambatla
>            Assignee: Varun Saxena
> Today, we have a config that determines the number of applications that can 
> be stored in the state-store. Since there is no easy way to figure out the 
> maximum number of running applications at any point in time, users are forced 
> to use a conservative estimate. Our default ends up being even more 
> conservative.
> It would be nice to allow storing all running applications with a 
> conservative upper bound for it. This should allow for shorter recovery times 
> in most deployments. 

This message was sent by Atlassian JIRA

Reply via email to