Vinod Kumar Vavilapalli commented on YARN-2268:

At YARN-2131, I mentioned a lock file in passing. If an active RM creates a "I 
am using the state-store" lock-file, then the command can bail out. Similarly, 
the command can create a "I am blowing up the state-store while you were 
presumably away", so that RM can crash deterministically when a format is in 

> Disallow formatting the RMStateStore when there is an RM running
> ----------------------------------------------------------------
>                 Key: YARN-2268
>                 URL: https://issues.apache.org/jira/browse/YARN-2268
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: resourcemanager
>    Affects Versions: 2.6.0
>            Reporter: Karthik Kambatla
>            Assignee: Rohith
>         Attachments: 0001-YARN-2268.patch
> YARN-2131 adds a way to format the RMStateStore. However, it can be a problem 
> if we format the store while an RM is actively using it. It would be nice to 
> fail the format if there is an RM running and using this store. 

This message was sent by Atlassian JIRA

Reply via email to