Thanks Andor, We found some issue with our interface configuration and correcting same has solved the issue.
Thanks Harish On Mon, Jul 23, 2018 at 11:22 AM Andor Molnar <an...@cloudera.com.invalid> wrote: > Hi, > > Is the IP address valid that you're trying to bind the server? > Please tell me some info about your environment: cloud? docker? kubernetes? > ZooKeeper config files would also be beneficial to take a look. > > Regards, > Andor > > > > > On Mon, Jul 23, 2018 at 5:02 PM, harish lohar <hklo...@gmail.com> wrote: > > > Hi , > > > > I am seeing bind failure for zookeeper ports, these are random and not > > easily reproducible. > > There was no one else listening on these ports. > > > > We have recently upgraded to 3.5.4-beta , earlier i never saw this issue > > > > 2018-07-22 00:08:59,409 [myid:] - WARN [main:QuorumPeerConfig@644] - > > Non-optimial configuration, consider an odd number of servers. > > 2018-07-22 00:08:59,707 [myid:181] - ERROR > > [/xx.xx.xxx.xxx:3888:QuorumCnxManager$Listener@878] - Exception while > > listening > > java.net.BindException: Cannot assign requested address (Bind failed) > > at java.net.PlainSocketImpl.socketBind(Native Method) > > at java.net > .AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387) > > at java.net.ServerSocket.bind(ServerSocket.java:375) > > at java.net.ServerSocket.bind(ServerSocket.java:329) > > at > > org.apache.zookeeper.server.quorum.QuorumCnxManager$ > > Listener.run(QuorumCnxManager.java:856) > > ket.bind(ServerSocket.java:329) > > >