[ 
https://issues.apache.org/jira/browse/YARN-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14551745#comment-14551745
 ] 

Karthik Kambatla commented on YARN-2268:
----------------------------------------

Given we recommend using the ZK-store when using HA, how about adding this for 
the ZK-store using an ephemeral znode for lock first? 

We could think of alternate ways for other stores. How about creating a lock 
file and declaring it stale after a stipulated period of time. It is a hacky 
approach, but might suffice? 

> 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
(v6.3.4#6332)

Reply via email to