Class ZooKeeperInitialization
- java.lang.Object
-
- org.apache.accumulo.server.replication.ZooKeeperInitialization
-
public class ZooKeeperInitialization extends Object
We don't want to introduce an upgrade path to 1.7 only for some new nodes within ZooKeeperWe can take the penalty of embedding this logic into the server processes, but alleviate users/developers from having to worry about the zookeeper state.
-
-
Constructor Summary
Constructors Constructor Description ZooKeeperInitialization()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
ensureZooKeeperInitialized(ZooReaderWriter zooReaderWriter, String zRoot)
Ensure that the full path to ZooKeeper nodes that will be used exist
-
-
-
Method Detail
-
ensureZooKeeperInitialized
public static void ensureZooKeeperInitialized(ZooReaderWriter zooReaderWriter, String zRoot) throws org.apache.zookeeper.KeeperException, InterruptedException
Ensure that the full path to ZooKeeper nodes that will be used exist- Throws:
org.apache.zookeeper.KeeperException
InterruptedException
-
-