Jing Zhao created HADOOP-10535: ---------------------------------- Summary: 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
Currently in ActiveStandbyElector, when its zookeeper client cannot successfully communicate with ZooKeeper server, 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)