Beispiel #1
0
 public void shutdown() throws Exception {
   vmClusterBuilder.shutdown();
   zookeeperServer.shutdown();
 }
Beispiel #2
0
 public void startZookeeper() throws Exception {
   zookeeperServer = new EmbededZKServer(baseDir + "/zookeeper-1", 2181);
   zookeeperServer.start();
 }