writeMyID(zkProperties);
QuorumPeerConfig zkConfig = new QuorumPeerConfig();
zkConfig.parseProperties(zkProperties);
ShutdownableZooKeeperServerMain zk = new ShutdownableZooKeeperServerMain();
ServerConfig serverConfig = new ServerConfig();
serverConfig.readFrom(zkConfig);
return new ZookeeperTuple(zk, serverConfig);
}
private static void runZKServer(QuorumPeerConfig zkConfig)
throws UnknownHostException, IOException {