accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Newton <>
Subject Re: MiniAccumuloCluster connection timeout negotiation
Date Tue, 06 Aug 2013 17:31:20 GMT
You can change the timeout, but zookeeper will only let you use a
connection timeout of 20x the tick rate.  By default, the tick rate for MAC
is 1s.  There is presently no way to change this value.

Also, I seem to remember that the client library sends a ping 1/3 of the
way through the timeout, and will disconnect at 2/3rds the timeout without
a response in order to attempt to reconnect to a more responsive zookeeper
before losing its session.

A connection timeout may be causing servers to fail too soon, see

Ensure your processes are not getting pushed into swap, and that you have
swappiness turned off.


On Tue, Aug 6, 2013 at 1:07 PM, Mastergeek <> wrote:

> Is there a means of truly changing the connection timeout? I know that the
> constructor for the ZooKeeperInstance has a parameter for session timeout,
> but I keep having my client session timeout, sometimes in as little 13
> seconds. Is there any way to extend the connection timeout?
> --
> View this message in context:
> Sent from the Developers mailing list archive at

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