conf = new ServerConfiguration().setZkServers(zkUtil.getZooKeeperConnectString());
executor = Executors.newCachedThreadPool();
ZooKeeperWatcherBase w = new ZooKeeperWatcherBase(10000);
zkc1 = ZkUtils.createConnectedZookeeperClient(
zkUtil.getZooKeeperConnectString(), w);
w = new ZooKeeperWatcherBase(10000);
zkc2 = ZkUtils.createConnectedZookeeperClient(
zkUtil.getZooKeeperConnectString(), w);
lmf1 = LedgerManagerFactory.newLedgerManagerFactory(conf, zkc1);
lmf2 = LedgerManagerFactory.newLedgerManagerFactory(conf, zkc2);
basePath = conf.getZkLedgersRootPath() + '/'