[
https://issues.apache.org/jira/browse/HADOOP-10535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980467#comment-13980467
]
Hudson commented on HADOOP-10535:
---------------------------------
SUCCESS: Integrated in Hadoop-trunk-Commit #5566 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/5566/])
HADOOP-10535. Make the retry numbers in ActiveStandbyElector configurable.
Contributed by Jing Zhao. (jing9:
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1589905)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeys.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ActiveStandbyElector.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ha/ZKFailoverController.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ha/TestActiveStandbyElector.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ha/TestActiveStandbyElectorRealZK.java
*
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/ha/TestZKFailoverControllerStress.java
*
/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/EmbeddedElectorService.java
> 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
> Fix For: 2.5.0
>
> 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)