hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r883191 - in /hadoop/hbase/branches/0.20: CHANGES.txt conf/hbase-default.xml
Date Sun, 22 Nov 2009 23:40:13 GMT
Author: stack
Date: Sun Nov 22 23:40:13 2009
New Revision: 883191

URL: http://svn.apache.org/viewvc?rev=883191&view=rev
Log:
HBASE-1997 zk tick time bounds maximum zk session time

Modified:
    hadoop/hbase/branches/0.20/CHANGES.txt
    hadoop/hbase/branches/0.20/conf/hbase-default.xml

Modified: hadoop/hbase/branches/0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/CHANGES.txt?rev=883191&r1=883190&r2=883191&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.20/CHANGES.txt Sun Nov 22 23:40:13 2009
@@ -6,6 +6,7 @@
   BUG FIXES
    HBASE-1999 When HTable goes away, close zk session in shutdown hook or
               something...
+   HBASE-1997 zk tick time bounds maximum zk session time
 
   IMPROVEMENTS
 

Modified: hadoop/hbase/branches/0.20/conf/hbase-default.xml
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/conf/hbase-default.xml?rev=883191&r1=883190&r2=883191&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/conf/hbase-default.xml (original)
+++ hadoop/hbase/branches/0.20/conf/hbase-default.xml Sun Nov 22 23:40:13 2009
@@ -394,10 +394,15 @@
   <property>
     <name>zookeeper.session.timeout</name>
     <value>60000</value>
-    <description>ZooKeeper session timeout. This option is not used by HBase
-      directly, it is for the internals of ZooKeeper. HBase merely passes it in
-      whenever a connection is established to ZooKeeper. It is used by ZooKeeper
-      for hearbeats. In milliseconds.
+    <description>ZooKeeper session timeout.
+      HBase passes this to the zk quorum as suggested maximum time for a
+      session.  See http://hadoop.apache.org/zookeeper/docs/current/zookeeperProgrammers.html#ch_zkSessions
+      "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>
   </property>
   <property>
@@ -491,9 +496,10 @@
   -->
   <property>
     <name>hbase.zookeeper.property.tickTime</name>
-    <value>2000</value>
+    <value>3000</value>
     <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>
   </property>
   <property>



Mime
View raw message