[
https://issues.apache.org/jira/browse/HADOOP-10535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HADOOP-10535:
-------------------------------
Attachment: HADOOP-10535.000.patch
Add a new configuration key
"ha.failover-controller.active-standby-elector.zk.op.retries" to specify the
max retry times.
> Make the retry numbers in ActiveStandbyElector configurable
> -----------------------------------------------------------
>
> Key: HADOOP-10535
> URL: https://issues.apache.org/jira/browse/HADOOP-10535
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Jing Zhao
> Assignee: Jing Zhao
> Priority: Minor
> Attachments: HADOOP-10535.000.patch
>
>
> Currently in ActiveStandbyElector, when its zookeeper client cannot
> successfully communicate with ZooKeeper service, the retry number is hard
> coded to 3 (ActiveStandbyElector#NUM_RETRIES). After retrying 3 times a fatal
> error will be thrown and the ZKFC will quit. It will be better to make the
> retry times configurable.
--
This message was sent by Atlassian JIRA
(v6.2#6252)