final List<String> hosts = new ArrayList<String>();
public ZooSpanClient(String keepers, final String path, String host, String service, long millis) throws IOException, KeeperException, InterruptedException {
super(host, service, millis);
this.path = path;
zoo = new ZooKeeper(keepers, 30 * 1000, new Watcher() {
@Override
public void process(WatchedEvent event) {
try {
if (zoo != null) {
updateHosts(path, zoo.getChildren(path, null));