Class ZooKeeperInitialization

java.lang.Object
org.apache.accumulo.server.replication.ZooKeeperInitialization

@Deprecated public class ZooKeeperInitialization extends Object
Deprecated.
We don't want to introduce an upgrade path to 1.7 only for some new nodes within ZooKeeper

We 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 Details

    • ZooKeeperInitialization

      public ZooKeeperInitialization()
      Deprecated.
  • Method Details

    • ensureZooKeeperInitialized

      public static void ensureZooKeeperInitialized(ZooReaderWriter zooReaderWriter, String zRoot) throws org.apache.zookeeper.KeeperException, InterruptedException
      Deprecated.
      Ensure that the full path to ZooKeeper nodes that will be used exist
      Throws:
      org.apache.zookeeper.KeeperException
      InterruptedException