hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From polyimide <polyim...@gmail.com>
Subject Unable to override zookeeper server maxSessionTimeout property
Date Thu, 07 Nov 2013 18:11:42 GMT
I am running HBase 0.94.11 and zookeeper 3.4.5-1392090 in standalone mode.
After a couple of hours, HBase exits because zookeeper session expired.
Trying to change the session timeout from the default 40 seconds to 180. 
Set the following properties in the hbase-site.xml. But as shown in the
hbase log file below, the zookeeper server still uses the default tickTime
and maxSessionTimeout. 
The zookeeper is started by hbase and lives in the same jvm. There is no
zoo.cnf in the path. 
How can I increase the zookeeper maxSessionTimeout to avoid session expire
due to long running gc?


2013-11-07 09:49:11,543 INFO org.apache.zookeeper.server.ZooKeeperServer:
Created server with tickTime 2000 minSessionTimeout 4000 maxSessionTimeout
40000 datadir /tmp/hbase-root/zookeeper/zookeeper_0/version-2 snapdir
2013-11-07 09:49:11,565 INFO
org.apache.zookeeper.server.NIOServerCnxnFactory: binding to port
2013-11-07 09:49:11,570 INFO
org.apache.zookeeper.server.persistence.FileTxnSnapLog: Snapshotting: 0x0 to
2013-11-07 09:49:11,591 INFO
org.apache.zookeeper.server.NIOServerCnxnFactory: Accepted socket connection
from /
2013-11-07 09:49:11,595 INFO org.apache.zookeeper.server.NIOServerCnxn:
Processing stat command from /

View this message in context: http://apache-hbase.679495.n3.nabble.com/Unable-to-override-zookeeper-server-maxSessionTimeout-property-tp4052554.html
Sent from the HBase User mailing list archive at Nabble.com.

View raw message