HBASE-13074 Cleaned up usage of hbase.master.lease.thread.wakefrequency
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
c8a7e80e0a
commit
17007685c1
|
@ -91,14 +91,6 @@
|
|||
Enabled for testing to run multiple tests on one machine.
|
||||
</description>
|
||||
</property>
|
||||
<property>
|
||||
<name>hbase.master.lease.thread.wakefrequency</name>
|
||||
<value>3000</value>
|
||||
<description>The interval between checks for expired region server leases.
|
||||
This value has been reduced due to the other reduced values above so that
|
||||
the master will notice a dead region server sooner. The default is 15 seconds.
|
||||
</description>
|
||||
</property>
|
||||
<property>
|
||||
<name>hbase.regionserver.safemode</name>
|
||||
<value>false</value>
|
||||
|
|
|
@ -424,9 +424,6 @@ public class TestCoprocessorInterface {
|
|||
private Configuration initConfig() {
|
||||
// Always compact if there is more than one store file.
|
||||
TEST_UTIL.getConfiguration().setInt("hbase.hstore.compactionThreshold", 2);
|
||||
// Make lease timeout longer, lease checks less frequent
|
||||
TEST_UTIL.getConfiguration().setInt(
|
||||
"hbase.master.lease.thread.wakefrequency", 5 * 1000);
|
||||
TEST_UTIL.getConfiguration().setInt(HConstants.HBASE_CLIENT_SCANNER_TIMEOUT_PERIOD, 10 * 1000);
|
||||
// Increase the amount of time between client retries
|
||||
TEST_UTIL.getConfiguration().setLong("hbase.client.pause", 15 * 1000);
|
||||
|
|
|
@ -4896,9 +4896,6 @@ public class TestHRegion {
|
|||
// Always compact if there is more than one store file.
|
||||
CONF.setInt("hbase.hstore.compactionThreshold", 2);
|
||||
|
||||
// Make lease timeout longer, lease checks less frequent
|
||||
CONF.setInt("hbase.master.lease.thread.wakefrequency", 5 * 1000);
|
||||
|
||||
CONF.setInt(HConstants.HBASE_CLIENT_SCANNER_TIMEOUT_PERIOD, 10 * 1000);
|
||||
|
||||
// Increase the amount of time between client retries
|
||||
|
|
|
@ -99,14 +99,6 @@
|
|||
Enabled for testing to run multiple tests on one machine.
|
||||
</description>
|
||||
</property>
|
||||
<property>
|
||||
<name>hbase.master.lease.thread.wakefrequency</name>
|
||||
<value>3000</value>
|
||||
<description>The interval between checks for expired region server leases.
|
||||
This value has been reduced due to the other reduced values above so that
|
||||
the master will notice a dead region server sooner. The default is 15 seconds.
|
||||
</description>
|
||||
</property>
|
||||
<property>
|
||||
<name>hbase.regionserver.safemode</name>
|
||||
<value>false</value>
|
||||
|
|
|
@ -95,14 +95,6 @@
|
|||
Enabled for testing to run multiple tests on one machine.
|
||||
</description>
|
||||
</property>
|
||||
<property>
|
||||
<name>hbase.master.lease.thread.wakefrequency</name>
|
||||
<value>3000</value>
|
||||
<description>The interval between checks for expired region server leases.
|
||||
This value has been reduced due to the other reduced values above so that
|
||||
the master will notice a dead region server sooner. The default is 15 seconds.
|
||||
</description>
|
||||
</property>
|
||||
<property>
|
||||
<name>hbase.regionserver.safemode</name>
|
||||
<value>false</value>
|
||||
|
|
|
@ -99,14 +99,6 @@
|
|||
Enabled for testing to run multiple tests on one machine.
|
||||
</description>
|
||||
</property>
|
||||
<property>
|
||||
<name>hbase.master.lease.thread.wakefrequency</name>
|
||||
<value>3000</value>
|
||||
<description>The interval between checks for expired region server leases.
|
||||
This value has been reduced due to the other reduced values above so that
|
||||
the master will notice a dead region server sooner. The default is 15 seconds.
|
||||
</description>
|
||||
</property>
|
||||
<property>
|
||||
<name>hbase.regionserver.safemode</name>
|
||||
<value>false</value>
|
||||
|
|
|
@ -99,14 +99,6 @@
|
|||
Enabled for testing to run multiple tests on one machine.
|
||||
</description>
|
||||
</property>
|
||||
<property>
|
||||
<name>hbase.master.lease.thread.wakefrequency</name>
|
||||
<value>3000</value>
|
||||
<description>The interval between checks for expired region server leases.
|
||||
This value has been reduced due to the other reduced values above so that
|
||||
the master will notice a dead region server sooner. The default is 15 seconds.
|
||||
</description>
|
||||
</property>
|
||||
<property>
|
||||
<name>hbase.regionserver.safemode</name>
|
||||
<value>false</value>
|
||||
|
|
Loading…
Reference in New Issue