Re: Errors with Python bindings

2010-07-16 Thread Patrick Hunt
Hi Rich, the version string looks useful to have, thanks! Would you mind submitting this via jira? Do a svn diff (looks like you did already), create a jira and attach the diff, then click submit link on the jira. We'll review and work on getting it into a future release.

cleanup ZK takes 40-60 seconds

2010-07-16 Thread Vishal K
Hi, We have embedded ZK server in our application. We start a thread in our application and call QuorumPeerMain.InitializeArgs(). When cleaning-up ZK we call QuorumPeerMain.shutdown() and wait for the thread that is calling InitializeArgs() to finish. These two steps are taking around 60

Re: cleanup ZK takes 40-60 seconds

2010-07-16 Thread Ted Dunning
I can't comment on the cleanup time, but I can suggest that it is normally not a very good idea to embed Zookeeper in your application. If your application really is distributed, then having ZK survive the demise of any particular instance is a really nice thing. If ZK goes away with your

RE: cleanup ZK takes 40-60 seconds

2010-07-16 Thread Benjamin Reed
how big is your database? it would be good to know the timing of the two calls. shutdown should take very little time. sent from my droid -Original Message- From: Vishal K [vishalm...@gmail.com] Received: 7/16/10 6:31 PM To: zookeeper-user@hadoop.apache.org