HBASE-3846 Set RIT timeout higher
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1099155 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
59392e209f
commit
94d77931b3
|
@ -279,6 +279,7 @@ Release 0.90.3 - Unreleased
|
||||||
|
|
||||||
TASKS
|
TASKS
|
||||||
HBASE-3748 Add rolling of thrift/rest daemons to graceful_stop.sh script
|
HBASE-3748 Add rolling of thrift/rest daemons to graceful_stop.sh script
|
||||||
|
HBASE-3846 Set RIT timeout higher
|
||||||
|
|
||||||
Release 0.90.2 - 20110408
|
Release 0.90.2 - 20110408
|
||||||
|
|
||||||
|
|
|
@ -160,7 +160,7 @@ public class AssignmentManager extends ZooKeeperListener {
|
||||||
this.timeoutMonitor = new TimeoutMonitor(
|
this.timeoutMonitor = new TimeoutMonitor(
|
||||||
conf.getInt("hbase.master.assignment.timeoutmonitor.period", 10000),
|
conf.getInt("hbase.master.assignment.timeoutmonitor.period", 10000),
|
||||||
master,
|
master,
|
||||||
conf.getInt("hbase.master.assignment.timeoutmonitor.timeout", 30000));
|
conf.getInt("hbase.master.assignment.timeoutmonitor.timeout", 180000));
|
||||||
Threads.setDaemonThreadRunning(timeoutMonitor,
|
Threads.setDaemonThreadRunning(timeoutMonitor,
|
||||||
master.getServerName() + ".timeoutMonitor");
|
master.getServerName() + ".timeoutMonitor");
|
||||||
this.zkTable = new ZKTable(this.master.getZooKeeper());
|
this.zkTable = new ZKTable(this.master.getZooKeeper());
|
||||||
|
|
|
@ -2158,7 +2158,7 @@ public class HRegion implements HeapSize { // , Writable{
|
||||||
// How often to send a progress report (default 1/2 master timeout)
|
// How often to send a progress report (default 1/2 master timeout)
|
||||||
int period = this.conf.getInt("hbase.hstore.report.period",
|
int period = this.conf.getInt("hbase.hstore.report.period",
|
||||||
this.conf.getInt("hbase.master.assignment.timeoutmonitor.timeout",
|
this.conf.getInt("hbase.master.assignment.timeoutmonitor.timeout",
|
||||||
30000) / 2);
|
180000) / 2);
|
||||||
long lastReport = EnvironmentEdgeManager.currentTimeMillis();
|
long lastReport = EnvironmentEdgeManager.currentTimeMillis();
|
||||||
|
|
||||||
while ((entry = reader.next()) != null) {
|
while ((entry = reader.next()) != null) {
|
||||||
|
|
Loading…
Reference in New Issue