- <init>
Instantiate a ZooKeeper connection and watcher.
- close
Close the connection to ZooKeeper.
- getRecoverableZooKeeper
Get the connection to ZooKeeper.
- getZNodePaths
Get the znodePaths. Mainly used for mocking as mockito can not mock a field
access.
- registerListener
Register the specified listener to receive ZooKeeper events.
- getConfiguration
- getMetaReplicaNodes
Get the znodes corresponding to the meta replicas from ZK
- getQuorum
Get the quorum address of this instance.
- abort
- isSuperUserId
- prefix
Adds this instance's identifier as a prefix to the passed str
- checkAndSetZNodeAcls
On master start, we check the znode ACLs under the root directory and set the
ACLs properly if neede