hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r679560 - in /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase: master/HMaster.java regionserver/HRegionServer.java
Date Thu, 24 Jul 2008 22:01:05 GMT
Author: stack
Date: Thu Jul 24 15:01:05 2008
New Revision: 679560

URL: http://svn.apache.org/viewvc?rev=679560&view=rev
Log:
HBASE-772 Up default lease period from 60 to 120 seconds


Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/HMaster.java
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/HMaster.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/HMaster.java?rev=679560&r1=679559&r2=679560&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/HMaster.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/HMaster.java Thu Jul 24 15:01:05
2008
@@ -214,8 +214,8 @@
 
     this.numRetries =  conf.getInt("hbase.client.retries.number", 2);
     this.maxRegionOpenTime =
-      conf.getLong("hbase.hbasemaster.maxregionopen", 60 * 1000);
-    this.leaseTimeout = conf.getInt("hbase.master.lease.period", 30 * 1000);
+      conf.getLong("hbase.hbasemaster.maxregionopen", 120 * 1000);
+    this.leaseTimeout = conf.getInt("hbase.master.lease.period", 120 * 1000);
     
     this.server = HbaseRPC.getServer(this, address.getBindAddress(),
         address.getPort(), conf.getInt("hbase.regionserver.handler.count", 10),

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java?rev=679560&r1=679559&r2=679560&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java Thu
Jul 24 15:01:05 2008
@@ -234,7 +234,7 @@
     this.threadWakeFrequency = conf.getInt(THREAD_WAKE_FREQUENCY, 10 * 1000);
     this.msgInterval = conf.getInt("hbase.regionserver.msginterval", 3 * 1000);
     this.serverLeaseTimeout =
-      conf.getInt("hbase.master.lease.period", 30 * 1000);
+      conf.getInt("hbase.master.lease.period", 120 * 1000);
 
     // Cache flushing thread.
     this.cacheFlusher = new Flusher(conf, this);



Mime
View raw message