HBASE-2052 Make hbase more 'live' when comes to noticing table creation,

splits, etc., for 0.20.3
            Temporary until master is redone


git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@891855 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jean-Daniel Cryans 2009-12-17 19:28:03 +00:00
parent 962236ed99
commit 3e11daa7c0
5 changed files with 9 additions and 6 deletions

View File

@ -236,6 +236,8 @@ Release 0.21.0 - Unreleased
HBASE-2043 Shell's scan broken
HBASE-2044 HBASE-1822 removed not-deprecated APIs
HBASE-2049 Cleanup HLog binary log output (Dave Latham via Stack)
HBASE-2052 Make hbase more 'live' when comes to noticing table creation,
splits, etc., for 0.20.3
NEW FEATURES
HBASE-1901 "General" partitioner for "hbase-48" bulk (behind the api, write

View File

@ -114,7 +114,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>
@ -164,9 +164,10 @@
</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>

View File

@ -288,7 +288,7 @@ public class HConnectionManager implements HConstants {
"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);

View File

@ -252,7 +252,7 @@ public class HRegionServer implements HConstants, HRegionInterface,
// 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);
sleeper = new Sleeper(this.msgInterval, this.stopRequested);

View File

@ -19,7 +19,7 @@
Map<byte [], MetaRegion> onlineRegions = master.getRegionManager().getOnlineMetaRegions();
Map<String, HServerInfo> serverToServerInfos =
master.getServerManager().getServersToServerInfo();
int interval = conf.getInt("hbase.regionserver.msginterval", 3000)/1000;
int interval = conf.getInt("hbase.regionserver.msginterval", 1000)/1000;
if (interval == 0) {
interval = 1;
}