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