@BeforeClass public static void setUpStatic() throws Exception { MiniAvatarCluster.createAndStartZooKeeper(); createAndStartBookKeeperCluster(); zooKeeperClient = bookKeeperCluster.initZK(); bookKeeperClient = new BookKeeper(new ClientConfiguration(), zooKeeperClient); recoveringZooKeeperClient = new RecoveringZooKeeper(new BasicZooKeeper(zooKeeperClient), MAX_ZK_RETRIES, ZK_RETRY_MS); }
@BeforeClass public static void setUpClass() throws Exception { MiniAvatarCluster.createAndStartZooKeeper(); }