You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by grayaii <al...@inin.com> on 2013/06/24 14:35:31 UTC
Determine when ZooKeeper Instance is in-sync
How do you determine when a follower has finished syncing all its data?
For instance, if your data dir is huge, it will take some time for the data
transfer to complete.
How do you know when it has finished?
Thanks!
--
View this message in context: http://zookeeper-user.578899.n2.nabble.com/Determine-when-ZooKeeper-Instance-is-in-sync-tp7578790.html
Sent from the zookeeper-user mailing list archive at Nabble.com.
Re: Determine when ZooKeeper Instance is in-sync
Posted by Brian Tarbox <br...@gmail.com>.
You might also want to look at https://github.com/phunt/zktop which is
basically "top" for zk. Very helpful
On Mon, Jun 24, 2013 at 9:59 PM, grayaii <al...@inin.com> wrote:
> Thanks Martin! That was exactly what I was looking for!
>
>
>
> --
> View this message in context:
> http://zookeeper-user.578899.n2.nabble.com/Determine-when-ZooKeeper-Instance-is-in-sync-tp7578790p7578795.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.
>
--
http://about.me/BrianTarbox
Re: Determine when ZooKeeper Instance is in-sync
Posted by grayaii <al...@inin.com>.
Thanks Martin! That was exactly what I was looking for!
--
View this message in context: http://zookeeper-user.578899.n2.nabble.com/Determine-when-ZooKeeper-Instance-is-in-sync-tp7578790p7578795.html
Sent from the zookeeper-user mailing list archive at Nabble.com.
Re: Determine when ZooKeeper Instance is in-sync
Posted by Martin Kou <bi...@gmail.com>.
Try telnet'ing to the ZooKeeper server and run the 'stat' command there.
It'll tell you whether it's ready serving request or not.
Best Regards,
Martin Kou
On Mon, Jun 24, 2013 at 5:35 AM, grayaii <al...@inin.com> wrote:
> How do you determine when a follower has finished syncing all its data?
> For instance, if your data dir is huge, it will take some time for the data
> transfer to complete.
> How do you know when it has finished?
> Thanks!
>
>
>
> --
> View this message in context:
> http://zookeeper-user.578899.n2.nabble.com/Determine-when-ZooKeeper-Instance-is-in-sync-tp7578790.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.
>