zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: How to modify Client Connection timer
Date Wed, 22 Mar 2017 18:24:59 GMT
You should be able to control that by increasing the session timeout. I'm
not familiar with the client code you are using however. Additionally the
ZK client should retry it's connection (as long as you don't close the ZK
object) continually until it is able to reconnect.


On Mon, Mar 20, 2017 at 3:22 PM, Ray Chaudhuri, Shirsha (Nokia -
IN/Bangalore) <shirsha.ray_chaudhuri@nokia.com> wrote:

> Hi,
> We are using ZKFC  as a Zookeeper Client that tries to connect to
> Zookeeper Server at the time of bringup, when we sometimes encounter the
> following issue _
> 1.       Client retrieves the ZK Ensemble address (ensemble consists of 3
> nodes)
> 2.       Client tries to connect to one of the ZK Server nodes
> 3.       However due to other on-going processing (required at the time of
> bringup) at the ZK Server Node, it fails to respond in time to the Client.
> The response goes after 3 seconds
> 4.       The Client side times out by then, typically seen around 1.6 sec
> Is there a way this timer at the Client side can be reconfigured to a
> higher value?
> Regards
> Shirsha

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message