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:
parent
5fe41420e6
commit
d60908dcf9
|
@ -54,6 +54,7 @@ Trunk (unreleased changes)
|
||||||
(Izaak Rubin via Stack)
|
(Izaak Rubin via Stack)
|
||||||
HADOOP-1835 Updated Documentation for HBase setup/installation
|
HADOOP-1835 Updated Documentation for HBase setup/installation
|
||||||
(Izaak Rubin via Stack)
|
(Izaak Rubin via Stack)
|
||||||
|
HADOOP-1868 Make default configuration more responsive
|
||||||
|
|
||||||
|
|
||||||
Below are the list of changes before 2007-08-18
|
Below are the list of changes before 2007-08-18
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
</property>
|
</property>
|
||||||
<property>
|
<property>
|
||||||
<name>hbase.client.pause</name>
|
<name>hbase.client.pause</name>
|
||||||
<value>30000</value>
|
<value>10000</value>
|
||||||
<description>General client pause value. Used mostly as value to wait
|
<description>General client pause value. Used mostly as value to wait
|
||||||
before running a retry of a failed get, region lookup, etc.</description>
|
before running a retry of a failed get, region lookup, etc.</description>
|
||||||
</property>
|
</property>
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
</property>
|
</property>
|
||||||
<property>
|
<property>
|
||||||
<name>hbase.regionserver.msginterval</name>
|
<name>hbase.regionserver.msginterval</name>
|
||||||
<value>10000</value>
|
<value>3000</value>
|
||||||
<description>Interval between messages from the RegionServer to HMaster
|
<description>Interval between messages from the RegionServer to HMaster
|
||||||
in milliseconds. Default is 15. Set this value low if you want unit
|
in milliseconds. Default is 15. Set this value low if you want unit
|
||||||
tests to be responsive.
|
tests to be responsive.
|
||||||
|
|
|
@ -448,7 +448,7 @@ public class HRegionServer implements HConstants, HRegionInterface, Runnable {
|
||||||
this.numRetries = conf.getInt("hbase.client.retries.number", 2);
|
this.numRetries = conf.getInt("hbase.client.retries.number", 2);
|
||||||
this.threadWakeFrequency = conf.getLong(THREAD_WAKE_FREQUENCY, 10 * 1000);
|
this.threadWakeFrequency = conf.getLong(THREAD_WAKE_FREQUENCY, 10 * 1000);
|
||||||
this.msgInterval = conf.getLong("hbase.regionserver.msginterval",
|
this.msgInterval = conf.getLong("hbase.regionserver.msginterval",
|
||||||
15 * 1000);
|
3 * 1000);
|
||||||
this.splitOrCompactCheckFrequency =
|
this.splitOrCompactCheckFrequency =
|
||||||
conf.getLong("hbase.regionserver.thread.splitcompactcheckfrequency",
|
conf.getLong("hbase.regionserver.thread.splitcompactcheckfrequency",
|
||||||
30 * 1000);
|
30 * 1000);
|
||||||
|
|
|
@ -75,7 +75,7 @@ public class HTable implements HConstants {
|
||||||
closed = true;
|
closed = true;
|
||||||
this.connection = HConnectionManager.getConnection(conf);
|
this.connection = HConnectionManager.getConnection(conf);
|
||||||
this.tableName = tableName;
|
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.numRetries = conf.getInt("hbase.client.retries.number", 5);
|
||||||
this.rand = new Random();
|
this.rand = new Random();
|
||||||
tableServers = connection.getTableServers(tableName);
|
tableServers = connection.getTableServers(tableName);
|
||||||
|
|
Loading…
Reference in New Issue