Re: Zookeeper client with single address pointing to multiple servers

2019-09-27 Thread LEE Ween Jiann
2 get Data the config node at /zookeeper/config 3 parse it into a multinode connect string and reconnect using that string. On 27 September 2019 16:33:48 LEE Ween Jiann wrote: > Hi, > > From the Zookeeper constructore in JAVA API: > “To create a Z

Zookeeper client with single address pointing to multiple servers

2019-09-27 Thread LEE Ween Jiann
Hi, From the Zookeeper constructore in JAVA API: “To create a ZooKeeper client object, the application needs to pass a connection string containing a comma separated list of host:port pairs, each corresponding to a ZooKeeper server.” I see that zookeeper resolves all the IPs from an address

Re: Zookeeper client with single address pointing to multiple servers

2019-09-27 Thread LEE Ween Jiann
y solr might be resistant to such a change. you can have a single DNS name resolve to multiple IP addresses and ZooKeeper client will use all those addresses if you don't like specifying a list on all the clients. ben On Fri, Sep 27, 2019 at 8:19 AM LEE Ween Jiann

RE: Zookeeper client with single address pointing to multiple servers

2019-09-28 Thread LEE Ween Jiann
SMU Classification: Restricted Alright. Thanks -Original Message- From: Cee Tee Sent: Saturday, September 28, 2019 3:24 PM To: user@zookeeper.apache.org Subject: Re: Zookeeper client with single address pointing to multiple servers You would have to grab the config file from the

Re: Zookeeper client with single address pointing to multiple servers

2019-09-27 Thread LEE Ween Jiann
Hi Cee Tee, I've check and this is working for 3.5.x but 3.4.x does not have the node. Is there another way for 3.4.x? On 28/9/19, 1:09 AM, "Cee Tee" wrote: The latest config is available in node /zookeeper/config or via the config command in the cli. If you want to know what