HBASE-6684 .META. timeout value is incorrect; REAPPLY

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1379217 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2012-08-30 23:16:10 +00:00
parent 8b3a90236b
commit 1da663d1e3
3 changed files with 12 additions and 2 deletions

View File

@ -507,7 +507,7 @@ Server {
private void initializeZKBasedSystemTrackers() throws IOException,
InterruptedException, KeeperException {
this.catalogTracker = createCatalogTracker(this.zooKeeper, this.conf,
this, conf.getInt("hbase.master.catalog.timeout", Integer.MAX_VALUE));
this, conf.getInt("hbase.master.catalog.timeout", 600000));
this.catalogTracker.start();
this.balancer = LoadBalancerFactory.getLoadBalancer(conf);

View File

@ -766,7 +766,7 @@ public class HRegionServer implements ClientProtocol,
// Create the catalog tracker and start it;
this.catalogTracker = new CatalogTracker(this.zooKeeper, this.conf,
this, this.conf.getInt("hbase.regionserver.catalog.timeout", Integer.MAX_VALUE));
this, this.conf.getInt("hbase.regionserver.catalog.timeout", 600000));
catalogTracker.start();
}

View File

@ -895,4 +895,14 @@
default log cleaners in the list as they will be overwritten in hbase-site.xml.
</description>
</property>
<property>
<name>hbase.regionserver.catalog.timeout</name>
<value>600000</value>
<description>Timeout value for the Catalog Janitor from the regionserver to META.</description>
</property>
<property>
<name>hbase.master.catalog.timeout</name>
<value>600000</value>
<description>Timeout value for the Catalog Janitor from the master to META.</description>
</property>
</configuration>