[
https://issues.apache.org/jira/browse/HADOOP-10182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13857128#comment-13857128
]
Ivan Mitic commented on HADOOP-10182:
-------------------------------------
bq. 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.
Great, changed the bug title and description. Will attach the patch soon.
> ZKFailoverController should ensure that parent ZNodes are pre-created during
> startup
> ------------------------------------------------------------------------------------
>
> 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)