[ 
https://issues.apache.org/jira/browse/HADOOP-10535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Nauroth updated HADOOP-10535:
-----------------------------------

    Hadoop Flags: Reviewed

+1 for this patch, pending Jenkins run.  Jing, thank you for contributing the 
patch.

> 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, HADOOP-10535.001.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)

Reply via email to