[ 
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.001.patch

EmbeddedElectorService in Yarn also creates an ActiveStandbyElector object. 
Update the patch to fix the compilation error. Thanks to [~cnauroth] for the 
offline review!

> 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