Re: Use fqdn instead of IP address with zookeeper ensemble

2018-07-06 Thread Shawn Heisey
On 7/6/2018 7:50 AM, Sushant Vengurlekar wrote: > I am doing the same but somehow its not working. I get the following errors > > Resolved hostname: zk-1.example.local to address: zk-1.example.local/ > 172.16.3.85 > > Cannot open channel to 2 at election address zk-1.example.local/ > 172.16.3.85:38

Re: Use fqdn instead of IP address with zookeeper ensemble

2018-07-06 Thread Sushant Vengurlekar
I am doing the same but somehow its not working. I get the following errors Resolved hostname: zk-1.example.local to address: zk-1.example.local/ 172.16.3.85 Cannot open channel to 2 at election address zk-1.example.local/ 172.16.3.85:3888 INFO [QuorumPeer[myid=3]/0.0.0.0:2183:QuorumPeer$Quorum

Re: Use fqdn instead of IP address with zookeeper ensemble

2018-07-06 Thread Vincenzo D'Amore
Just use the fqdn of each instance in zoo.cfg. For example: server.1=zk-1.example.local:2888:3888 server.2=zk-2.example.local:2888:3888 server.3=zk-3.example.local:2888:3888 On Fri, Jul 6, 2018 at 3:03 PM Sushant Vengurlekar < svengurle...@curvolabs.com> wrote: > I want to use a FQDN of each of

Use fqdn instead of IP address with zookeeper ensemble

2018-07-06 Thread Sushant Vengurlekar
I want to use a FQDN of each of the zookeeper instances instead of the IP address in the zookeeper config. has anyone done this before and can point to some examples. Thank you