[
https://issues.apache.org/jira/browse/YARN-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14551826#comment-14551826
]
Rohith commented on YARN-2268:
------------------------------
Thanks [~sunilg] [~jianhe] [~kasha] for sharing your thoughts..
bq. 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?
+1 given state store recommend for ZKRMStateStore.
bq. How about creating a lock file and declaring it stale after a stipulated
period of time.
If we use stipulated period, am thinking that within the stiplated period,
neither RM cant be started nor state store format cant be done. And the file
has to be stored in hdfs neverthless of RMStateStore which is extra binding
with filesytem.
I am thinking , why can't we use general approach of polling the web service,
it will give more accurate state. ?
> 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)