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

Ivan Mitic commented on HADOOP-10182:
-------------------------------------

Thanks for commenting Karthik.

bq. Formatting without an explicit request seems like a bad idea - a wrong 
configuration could easily end up formatting the znode of a different cluster. 
At the very least, if we decide to go this route, should have a config to 
disable/ enable this.
Just to clarify, when I say "format' in the context of this Jira I assume 
making sure that parent ZNodes exist. If parent ZNodes exist, no action will be 
performed. I don't think this can do any real damage. I will clarify this in 
the description of the Jira. Let me know what you think. I don't mind adding a 
config, but before doing so, would like to make sure it is really needed.

> ZKFailoverController should implicitly ensure that ZK is formatted
> ------------------------------------------------------------------
>
>                 Key: HADOOP-10182
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10182
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: ha
>    Affects Versions: 2.3.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>
> Currently, a manual ZK format step is necessary before ZKFailoverController 
> can join leader election. This generally adds overhead on what is needed to 
> configure an HA cluster. My proposal is to always ensure that ZK is formatted 
> during startup of the ZKFailoverController. If folks do not want to make this 
> a default, we can put it under a config.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to