Permalink
Browse files

wait for the zookeeper daemon to be available

  • Loading branch information...
1 parent c3ff0f3 commit e406efcb977a47f826640360b7936f84e05cd76c @sebest sebest committed May 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/zkfarmer
View
@@ -157,7 +157,7 @@ def main():
parser.error(e)
exit(1)
- zkconn = zc.zk.ZooKeeper(args.host)
+ zkconn = zc.zk.ZooKeeper(args.host, wait=True)
def sighandler(sig, frame):
zkconn.close()

0 comments on commit e406efc

Please sign in to comment.