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 ACCUMULO-1572. Ensure your processes are not getting pushed into swap, and that you have swappiness turned off. -Eric On Tue, Aug 6, 2013 at 1:07 PM, Mastergeek <[email protected]> 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: > http://apache-accumulo.1065345.n5.nabble.com/MiniAccumuloCluster-connection-timeout-negotiation-tp5049.html > Sent from the Developers mailing list archive at Nabble.com. >
