Hi,
I am using ZooKeeper service for leader election and group management. I
have read in the site (
http://hadoop.apache.org/zookeeper/docs/r3.2.2/recipes.html#sc_leaderElection)
under the "LeaderElection" section that, if all the clients try to access
the getChildren() when trying to become a le
Having 16 clients all wake up and ping ZK is an extremely light load. The
warning on the recipes page had more to do with the situation where
thousands of nodes wake up at the same time.
On Mon, Jul 12, 2010 at 1:30 PM, Srikanth Bondalapati: <
sbondalap...@tagged.com> wrote:
> Hi,
>
> I am using
ted is correct, as usual. that warning is really to avoid unnecessary
load, and 16 clients really don't generate much of a load at all. even
with thousands of cliets, if they really need the list of children it
will still be ok. the point of that note was that for leader election
only one proce
Thanks a lot Ted and Benjamin.
On Mon, Jul 12, 2010 at 3:01 PM, Benjamin Reed wrote:
> ted is correct, as usual. that warning is really to avoid unnecessary load,
> and 16 clients really don't generate much of a load at all. even with
> thousands of cliets, if they really need the list of childr
Hi,
ZkClient (http://github.com/sgroschupf/zkclient) provides a nice wrapper
around the ZooKeeper client and handles things like retry during
ConnectionLoss events, and auto reconnect. Does anyone (other than Katta)
use it? Would people recommend using it? Thanks,
Jun