HADOOP-1868 Make default configuration more responsive

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@574404 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2007-09-10 23:27:34 +00:00
parent 5fe41420e6
commit d60908dcf9
4 changed files with 5 additions and 4 deletions

View File

@ -54,6 +54,7 @@ Trunk (unreleased changes)
(Izaak Rubin via Stack)
HADOOP-1835 Updated Documentation for HBase setup/installation
(Izaak Rubin via Stack)
HADOOP-1868 Make default configuration more responsive
Below are the list of changes before 2007-08-18

View File

@ -50,7 +50,7 @@
</property>
<property>
<name>hbase.client.pause</name>
<value>30000</value>
<value>10000</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>
@ -102,7 +102,7 @@
</property>
<property>
<name>hbase.regionserver.msginterval</name>
<value>10000</value>
<value>3000</value>
<description>Interval between messages from the RegionServer to HMaster
in milliseconds. Default is 15. Set this value low if you want unit
tests to be responsive.

View File

@ -448,7 +448,7 @@ public class HRegionServer implements HConstants, HRegionInterface, Runnable {
this.numRetries = conf.getInt("hbase.client.retries.number", 2);
this.threadWakeFrequency = conf.getLong(THREAD_WAKE_FREQUENCY, 10 * 1000);
this.msgInterval = conf.getLong("hbase.regionserver.msginterval",
15 * 1000);
3 * 1000);
this.splitOrCompactCheckFrequency =
conf.getLong("hbase.regionserver.thread.splitcompactcheckfrequency",
30 * 1000);

View File

@ -75,7 +75,7 @@ public class HTable implements HConstants {
closed = true;
this.connection = HConnectionManager.getConnection(conf);
this.tableName = tableName;
this.pause = conf.getLong("hbase.client.pause", 30 * 1000);
this.pause = conf.getLong("hbase.client.pause", 10 * 1000);
this.numRetries = conf.getInt("hbase.client.retries.number", 5);
this.rand = new Random();
tableServers = connection.getTableServers(tableName);