- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
What is the unit for the default ha.failover-controller.active-standbyelector.zk.op.retries setting? Is it 120 retries or 120 sec between retries?
- Labels:
-
Apache Ambari
-
Apache Zookeeper
Created on ‎04-19-2018 12:15 AM - edited ‎09-16-2022 06:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Under "NameNode High Availability" of the Apache Ambari Operations document, one of the steps was to adjust the ZooKeeper Failover Controller retries setting for your environment. We were to "Set ha.failover-controller.active-standbyelector. zk.op.retries=120." (Actually this was already done automatically when we "Enable NameNode HA"). My customer is curious to know the unit for the default ha.failover-controller.active-standbyelector.zk.op.retries setting? Is it 120 retries or 120 sec(or ms) between retries?
Created ‎04-19-2018 12:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Yew Hoong Chia Is 120 retries count. Not ms/seconds unit but count of number of retry times it will attempt.
From org.apache.hadoop.fs.CommonConfigurationKeys:
/** number of zookeeper operation retry times in ActiveStandbyElector */ public static final String HA_FC_ELECTOR_ZK_OP_RETRIES_KEY ="ha.failover-controller.active-standby-elector.zk.op.retries"; public static final int HA_FC_ELECTOR_ZK_OP_RETRIES_DEFAULT = 3;
HTH
