Tsuyoshi OZAWA commented on YARN-2131:

+1 for the improvement. It's useful to remove applications which is in illegal 
state because of AM's bugs or unexpected behavior.

We were considering both a startup flag and through yarn rmadmin. AFAIK, there 
is no precedent for startup flag, but I like that idea better.

[~sjlee0], [~kkambatl], what kind of startup flag are you thinking of? I think 
it's better to add startup flags to Application, not to RM. If the RM knows 
that the application instances should not be stored on RMStateStore, RM can 
just skip it. After the fail-over, RM will just forget the application. Is it 
out of scope of this JIRA? If this feature is out of scope, I'd like to take it.

[~rkanter], what's going on? I appreciate if you can share the design, idea, 
and so on.

> Add a way to nuke the RMStateStore
> ----------------------------------
>                 Key: YARN-2131
>                 URL: https://issues.apache.org/jira/browse/YARN-2131
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.4.0
>            Reporter: Karthik Kambatla
>            Assignee: Robert Kanter
> There are cases when we don't want to recover past applications, but recover 
> applications going forward. To do this, one has to clear the store. Today, 
> there is no easy way to do this and users should understand how each store 
> works.

This message was sent by Atlassian JIRA

Reply via email to