hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r891834 - in /hadoop/hbase/branches/0.20: CHANGES.txt conf/hbase-default.xml src/java/org/apache/hadoop/hbase/client/HConnectionManager.java src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java src/webapps/master/master.jsp
Date Thu, 17 Dec 2009 18:49:33 GMT
Author: jdcryans
Date: Thu Dec 17 18:49:32 2009
New Revision: 891834

URL: http://svn.apache.org/viewvc?rev=891834&view=rev
Log:
HBASE-2052  Make hbase more 'live' when comes to noticing table creation, 
            splits, etc., for 0.20.3

Modified:
    hadoop/hbase/branches/0.20/CHANGES.txt
    hadoop/hbase/branches/0.20/conf/hbase-default.xml
    hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
    hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
    hadoop/hbase/branches/0.20/src/webapps/master/master.jsp

Modified: hadoop/hbase/branches/0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/CHANGES.txt?rev=891834&r1=891833&r2=891834&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.20/CHANGES.txt Thu Dec 17 18:49:32 2009
@@ -41,6 +41,8 @@
                (Dave Latham via Stack)
    HBASE-2031  When starting HQuorumPeer, try to match on more than 1 address
    HBASE-2046  Remove CompactionLimitThread
+   HBASE-2052  Make hbase more 'live' when comes to noticing table creation, 
+               splits, etc., for 0.20.3
 
 Release 0.20.2 - November 18th, 2009
   INCOMPATIBLE CHANGES

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=891834&r1=891833&r2=891834&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/conf/hbase-default.xml (original)
+++ hadoop/hbase/branches/0.20/conf/hbase-default.xml Thu Dec 17 18:49:32 2009
@@ -122,7 +122,7 @@
   </property>
   <property>
     <name>hbase.client.pause</name>
-    <value>2000</value>
+    <value>1000</value>
     <description>General client pause value.  Used mostly as value to wait
     before running a retry of a failed get, region lookup, etc.</description>
   </property>
@@ -161,16 +161,17 @@
   </property>
   <property>
     <name>hbase.regionserver.msginterval</name>
-    <value>3000</value>
+    <value>1000</value>
     <description>Interval between messages from the RegionServer to HMaster
-    in milliseconds.  Default is 3 seconds.
+    in milliseconds. Use a high value like 3000 for clusters with more than 10
+    nodes. Default is 1 second so that HBase seems more 'live'.
     </description>
   </property>
   <property>
     <name>hbase.regionserver.flushlogentries</name>
     <value>100</value>
     <description>Sync the HLog to the HDFS when it has accumulated this many
-    entries. Default 100. Value is checked on every HLog.append
+    entries. Default 100. Value is checked on every HLog.sync
     </description>
   </property>
   <property>

Modified: hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java?rev=891834&r1=891833&r2=891834&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
(original)
+++ hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/client/HConnectionManager.java
Thu Dec 17 18:49:32 2009
@@ -288,7 +288,7 @@
             "Unable to find region server interface " + serverClassName, e);
       }
 
-      this.pause = conf.getLong("hbase.client.pause", 2 * 1000);
+      this.pause = conf.getLong("hbase.client.pause", 1 * 1000);
       this.numRetries = conf.getInt("hbase.client.retries.number", 10);
       this.maxRPCAttempts = conf.getInt("hbase.client.rpc.maxattempts", 1);
       this.rpcTimeout = conf.getLong("hbase.regionserver.lease.period", 60000);

Modified: hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java?rev=891834&r1=891833&r2=891834&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
(original)
+++ hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Thu Dec 17 18:49:32 2009
@@ -256,7 +256,7 @@
     // Config'ed params
     this.numRetries =  conf.getInt("hbase.client.retries.number", 2);
     this.threadWakeFrequency = conf.getInt(THREAD_WAKE_FREQUENCY, 10 * 1000);
-    this.msgInterval = conf.getInt("hbase.regionserver.msginterval", 3 * 1000);
+    this.msgInterval = conf.getInt("hbase.regionserver.msginterval", 1 * 1000);
     this.serverLeaseTimeout =
       conf.getInt("hbase.master.lease.period", 120 * 1000);
 

Modified: hadoop/hbase/branches/0.20/src/webapps/master/master.jsp
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/webapps/master/master.jsp?rev=891834&r1=891833&r2=891834&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/webapps/master/master.jsp (original)
+++ hadoop/hbase/branches/0.20/src/webapps/master/master.jsp Thu Dec 17 18:49:32 2009
@@ -19,7 +19,7 @@
   Map<byte [], MetaRegion> onlineRegions = master.getOnlineMetaRegions();
   Map<String, HServerInfo> serverToServerInfos =
     master.getServersToServerInfo();
-  int interval = conf.getInt("hbase.regionserver.msginterval", 3000)/1000;
+  int interval = conf.getInt("hbase.regionserver.msginterval", 1000)/1000;
   if (interval == 0) {
       interval = 1;
   }



Mime
View raw message