浏览代码

HADOOP-16712. Config ha.failover-controller.active-standby-elector.zk.op.retries is not in core-default.xml. Contributed by Xieming Li.

Ayush Saxena 5 年之前
父节点
当前提交
7f811722b7
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      hadoop-common-project/hadoop-common/src/main/resources/core-default.xml

+ 8 - 0
hadoop-common-project/hadoop-common/src/main/resources/core-default.xml

@@ -3017,6 +3017,14 @@
   </description>
 </property>
 
+<property>
+  <name>ha.failover-controller.active-standby-elector.zk.op.retries</name>
+  <value>3</value>
+  <description>
+    The number of zookeeper operation retry times in ActiveStandbyElector
+  </description>
+</property>
+
 <property>
   <name>ha.failover-controller.cli-check.rpc-timeout.ms</name>
   <value>20000</value>