Robert Kanter updated YARN-2131:

    Attachment: YARN-2131.patch

The patch adds a {{deleteStore()}} method to RMStateStore and implementations 
for the ZKRMStateStore and the FileSystemRMStateStore; this gets called when 
you run {{yarn resourcemanager -format}}.

I also added a unit test and verified that it works in a cluster with the 
ZKRMStateStore and also the FileSystemRMStateStore with both the local FS and 

> 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
>         Attachments: YARN-2131.patch
> 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