HBASE-15098 Normalizer switch in configuration is not used

This commit is contained in:
stack 2016-01-20 09:32:38 -08:00
parent 5e08e2ceb6
commit bd9906736e
3 changed files with 0 additions and 11 deletions

View File

@ -134,10 +134,6 @@ public final class HConstants {
public static final String HBASE_MASTER_NORMALIZER_CLASS =
"hbase.master.normalizer.class";
/** Config for enabling/disabling pluggable region normalizer */
public static final String HBASE_NORMALIZER_ENABLED =
"hbase.normalizer.enabled";
/** Cluster is standalone or pseudo-distributed */
public static final boolean CLUSTER_IS_LOCAL = false;

View File

@ -573,12 +573,6 @@ possible configurations would overwhelm and obscure the important.
<value>300000</value>
<description>Period at which the region balancer runs in the Master.</description>
</property>
<property>
<name>hbase.normalizer.enabled</name>
<value>false</value>
<description>If set to true, Master will try to keep region size
within each table approximately the same.</description>
</property>
<property>
<name>hbase.normalizer.period</name>
<value>1800000</value>

View File

@ -67,7 +67,6 @@ public class TestSimpleRegionNormalizerOnCluster {
public static void beforeAllTests() throws Exception {
// we will retry operations when PleaseHoldException is thrown
TEST_UTIL.getConfiguration().setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 3);
TEST_UTIL.getConfiguration().setBoolean(HConstants.HBASE_NORMALIZER_ENABLED, true);
TEST_UTIL.getConfiguration().setBoolean(QuotaUtil.QUOTA_CONF_KEY, true);
// Start a cluster of two regionservers.