Ejemplo n.º 1
0
 @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);
 }
Ejemplo n.º 2
0
 @BeforeClass
 public static void setUpClass() throws Exception {
   MiniAvatarCluster.createAndStartZooKeeper();
 }