killShardServer(getBlurConfiguration(), shardServer);
}
public void killShardServer(final BlurConfiguration configuration, int shardServer) throws IOException,
InterruptedException, KeeperException {
ThriftServer thriftServer = shards.get(shardServer);
int shardPort = thriftServer.getServerTransport().getServerSocket().getLocalPort();
String nodeNameHostname = ThriftServer.getNodeName(configuration, BLUR_SHARD_HOSTNAME);
String nodeName = nodeNameHostname + ":" + shardPort;
ZooKeeper zk = new ZooKeeperClient(getZkConnectionString(), 30000, new Watcher() {
@Override
public void process(WatchedEvent event) {