I would like to add some info on this.
This may not be very important, but there are subtle differences.
Two cases: 1. server hardware failure or kernel panic
2. zookeeper Java daemon process down
In former one, timeout will be based on the timeout argument in
Sorry. I made a mistake on retry timeout in load balancer section of my answer.
The same timeout applies to load balancer case as well (depends on the recv
timeout)
Thank you
Chang
On Nov 4, 2010, at 10:22 PM, Chang Song wrote:
I would like to add some info on this.
This may not be
Hi Chang, thanks for the insights, if you have a few minutes would you
mind updating the FAQ with some of this detail?
http://wiki.apache.org/hadoop/ZooKeeper/FAQ
Thanks!
Patrick
On Thu, Nov 4, 2010 at 6:27 AM, Chang Song tru64...@me.com wrote:
Sorry. I made a mistake on retry timeout in load
one thing to note: the if you are using a DNS load balancer, some load
balancers will return the list of resolved addresses in different orders
to do the balancing. the zookeeper client will shuffle that list before
it it used, so in reality, using a single DNS hostname resolving to all
the
Benjamin.
It looks like ZK clients can handle a list of IPs from DNS query correctly.
Yes you are right.
I am updating wiki per Patrick's request.
Thanks a lot.
Chang
On Nov 5, 2010, at 1:10 AM, Benjamin Reed wrote:
one thing to note: the if you are using a DNS load balancer, some load
Great, thanks!
On Thu, Nov 4, 2010 at 10:04 PM, Chang Song tru64...@me.com wrote:
Benjamin.
It looks like ZK clients can handle a list of IPs from DNS query correctly.
Yes you are right.
I am updating wiki per Patrick's request.
Thanks a lot.
Chang
On Nov 5, 2010, at 1:10 AM,
What would be expected behavior if a three node cluster is put behind a load
balancer? It would ease deployment because all clients would be configured
to target zookeeper.example.com regardless of actual cluster configuration,
but I have impression that client-server connection is stateful and
DNS round-robin works as well.
On Wed, Nov 3, 2010 at 3:45 PM, Benjamin Reed br...@yahoo-inc.com wrote:
it would have to be a TCP based load balancer to work with ZooKeeper
clients, but other than that it should work really well. The clients will be
doing heart beats so the TCP connections