Grokbase Groups HBase dev July 2011
In hbase book, It recommends the zookeeper.session.timeout is default 60s. but, the default value is configured for 18000 in Hbase-default.xml.

Should we modify the Hbase-default.xml or book ?

Hbase Book: ZooKeeper SessionExpired events

If you wish to increase the session timeout, add the following to your hbase-site.xml to increase the timeout from the default of 60 seconds to 120 seconds.

Be aware that setting a higher timeout means that the regions served by a failed RegionServer will take at least that amount of time to be transfered to another RegionServer. For a production system serving live requests, we would instead recommend setting it lower than 1 minute and over-provision your cluster in order the lower the memory load on each machines (hence having less garbage to collect per machine).

<description>ZooKeeper session timeout.
HBase passes this to the zk quorum as suggested maximum time for a
session. See
"The client sends a requested timeout, the server responds with the
timeout that it can give the client. "
In milliseconds.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieshbase, hadoop
postedJul 13, '11 at 3:53a
activeJul 13, '11 at 3:53a

1 user in discussion

Gaojinchao: 1 post



site design / logo © 2023 Grokbase