Another Question on the same line, are there any specific number of retries
configured in zookeeper in case there is intermittent problem with the
interface or they are infinite ??


On Mon, Jul 23, 2018 at 2:37 PM harish lohar <[email protected]> wrote:

> 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 <[email protected]>
> 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 <[email protected]> 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)
>> >
>>
>

Reply via email to