HBASE-1997 zk tick time bounds maximum zk session time
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@883190 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
41bfe09a49
commit
e7ee750f6c
|
@ -116,6 +116,7 @@ Release 0.21.0 - Unreleased
|
||||||
Purtell)
|
Purtell)
|
||||||
HBASE-1999 When HTable goes away, close zk session in shutdown hook or
|
HBASE-1999 When HTable goes away, close zk session in shutdown hook or
|
||||||
something...
|
something...
|
||||||
|
HBASE-1997 zk tick time bounds maximum zk session time
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-1760 Cleanup TODOs in HTable
|
HBASE-1760 Cleanup TODOs in HTable
|
||||||
|
|
|
@ -386,10 +386,15 @@
|
||||||
<property>
|
<property>
|
||||||
<name>zookeeper.session.timeout</name>
|
<name>zookeeper.session.timeout</name>
|
||||||
<value>60000</value>
|
<value>60000</value>
|
||||||
<description>ZooKeeper session timeout. This option is not used by HBase
|
<description>ZooKeeper session timeout.
|
||||||
directly, it is for the internals of ZooKeeper. HBase merely passes it in
|
HBase passes this to the zk quorum as suggested maximum time for a
|
||||||
whenever a connection is established to ZooKeeper. It is used by ZooKeeper
|
session. See http://hadoop.apache.org/zookeeper/docs/current/zookeeperProgrammers.html#ch_zkSessions
|
||||||
for hearbeats. In milliseconds.
|
"The client sends a requested timeout, the server responds with the
|
||||||
|
timeout that it can give the client. The current implementation
|
||||||
|
requires that the timeout be a minimum of 2 times the tickTime
|
||||||
|
(as set in the server configuration) and a maximum of 20 times
|
||||||
|
the tickTime." Set the zk ticktime with hbase.zookeeper.property.tickTime.
|
||||||
|
In milliseconds.
|
||||||
</description>
|
</description>
|
||||||
</property>
|
</property>
|
||||||
<property>
|
<property>
|
||||||
|
@ -472,9 +477,10 @@
|
||||||
-->
|
-->
|
||||||
<property>
|
<property>
|
||||||
<name>hbase.zookeeper.property.tickTime</name>
|
<name>hbase.zookeeper.property.tickTime</name>
|
||||||
<value>2000</value>
|
<value>3000</value>
|
||||||
<description>Property from ZooKeeper's config zoo.cfg.
|
<description>Property from ZooKeeper's config zoo.cfg.
|
||||||
The number of milliseconds of each tick.
|
The number of milliseconds of each tick. See
|
||||||
|
zookeeper.session.timeout description.
|
||||||
</description>
|
</description>
|
||||||
</property>
|
</property>
|
||||||
<property>
|
<property>
|
||||||
|
|
Loading…
Reference in New Issue