Thanks everyone! Lots of interesting answers.
On Fri, Nov 5, 2010 at 6:08 AM, Patrick Hunt wrote:
> Great, thanks!
>
> On Thu, Nov 4, 2010 at 10:04 PM, Chang Song wrote:
> >
> > Benjamin.
> > It looks like ZK clients can handle a list of IPs from DNS query
> correctly.
> > Yes you are right.
>
Great, thanks!
On Thu, Nov 4, 2010 at 10:04 PM, Chang Song 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, Benjamin
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
>
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 ser
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 wrote:
>
> Sorry. I made a mistake on retry timeout in load balancer sect
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
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
zookeeper_
DNS round-robin works as well.
On Wed, Nov 3, 2010 at 3:45 PM, Benjamin Reed 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 will be long lived.
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 will be long lived. The
client library does random connection load balancing anyway.
ben
On 11/03/2010 12: