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

Rohith commented on YARN-2268:
------------------------------

Thanks [~vinodkv] and [~xgong] pinching in.
Trying to understand the approach, and some doubts
# Where does the lock file has been created? Is it in StateStore or HDFS or 
local file system? If statestore/HDFS, there would be many error handling 
scenario's would occure like if RM is killed then lock file remains in the 
statestore. This makes no other RM commands to execute. Creating file in HDFS 
require additional dependencies on HDFS in RM.

> 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