Re: Zookeeper client connection

2019-06-07 Thread rammohan ganapavarapu
All i want to do is avoid static IP as we have zk cluster in autoscalling environment and IP is ephemeral there. On Fri, Jun 7, 2019, 2:38 PM Enrico Olivelli wrote: > A round robin DNS name should work > > > Enrico > > Il ven 7 giu 2019, 22:39 rammohan ganapavarapu > ha > scritto: > > > Hi, > >

Re: Zookeeper client connection

2019-06-07 Thread Enrico Olivelli
A round robin DNS name should work Enrico Il ven 7 giu 2019, 22:39 rammohan ganapavarapu ha scritto: > Hi, > > Since with 3.5.5 version clients can watch on zoookeeper/confg znode for > the active zk servers, do we still need to give all the IPs of zk servers > to client? or can i give one IP

Re: Zookeeper client connection

2019-06-07 Thread Tamas Penzes
Hi Ram, Just one question: What happens if you only give one server's IP to your client and that one stops working? The quorum might be still active, only that one server is inactive. You try to connect to that server to get the server list, but cannot connect. If you have more than one IP given

Zookeeper client connection

2019-06-07 Thread rammohan ganapavarapu
Hi, Since with 3.5.5 version clients can watch on zoookeeper/confg znode for the active zk servers, do we still need to give all the IPs of zk servers to client? or can i give one IP or rr dns name to a client and client can get server's list from the config znode to balance the connections? Tha

Re: VPN Zookeeper client connection

2015-06-09 Thread Vincenzo D'Amore
Thanks Chris for your explanation, yes there was a setup blocking outbound traffic. On Tue, Jun 9, 2015 at 7:08 PM, Chris Nauroth wrote: > Hello Vincenzo, > > The 53159 port in this log doesn't represent a different, second > connection. (There is no second TCP handshake initiated by sending a

Re: VPN Zookeeper client connection

2015-06-09 Thread Chris Nauroth
Hello Vincenzo, The 53159 port in this log doesn't represent a different, second connection. (There is no second TCP handshake initiated by sending a new SYN packet.) Instead, 53159 is the ephemeral port that the client selected for its end of the socket connection. Ephemeral ports are assigned

VPN Zookeeper client connection

2015-06-09 Thread Vincenzo D'Amore
Hi all, I'm unable to upload a file into a zookeeper instance running behind a VPN. As far as I understood, after the first connection to client port 2181, there is a second connection from client to server to a random port which is dynamically assigned by zookeeper server. INFO [NIOServerCxn.F