[
https://issues.apache.org/jira/browse/HADOOP-10182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13857125#comment-13857125
]
Karthik Kambatla commented on HADOOP-10182:
-------------------------------------------
Calling {{ActiveStandbyElector#ensureParentZNode}} immediately after creating
the elector sounds reasonable to me. If that is the intention here, I agree it
is a good idea and no need to add a config. Would modify the title/ summary in
that case.
> 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 parent znodes
> exist 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)