HBASE-15098 Normalizer switch in configuration is not used
This commit is contained in:
parent
17130e4d2f
commit
44dc9d1162
|
@ -134,10 +134,6 @@ public final class HConstants {
|
||||||
public static final String HBASE_MASTER_NORMALIZER_CLASS =
|
public static final String HBASE_MASTER_NORMALIZER_CLASS =
|
||||||
"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 */
|
/** Cluster is standalone or pseudo-distributed */
|
||||||
public static final boolean CLUSTER_IS_LOCAL = false;
|
public static final boolean CLUSTER_IS_LOCAL = false;
|
||||||
|
|
||||||
|
|
|
@ -579,12 +579,6 @@ possible configurations would overwhelm and obscure the important.
|
||||||
<value>300000</value>
|
<value>300000</value>
|
||||||
<description>Period at which the region balancer runs in the Master.</description>
|
<description>Period at which the region balancer runs in the Master.</description>
|
||||||
</property>
|
</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>
|
<property>
|
||||||
<name>hbase.normalizer.period</name>
|
<name>hbase.normalizer.period</name>
|
||||||
<value>1800000</value>
|
<value>1800000</value>
|
||||||
|
|
|
@ -61,7 +61,7 @@ public class TestSimpleRegionNormalizerOnCluster {
|
||||||
public static void beforeAllTests() throws Exception {
|
public static void beforeAllTests() throws Exception {
|
||||||
// we will retry operations when PleaseHoldException is thrown
|
// we will retry operations when PleaseHoldException is thrown
|
||||||
TEST_UTIL.getConfiguration().setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 3);
|
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.
|
// Start a cluster of two regionservers.
|
||||||
TEST_UTIL.startMiniCluster(1);
|
TEST_UTIL.startMiniCluster(1);
|
||||||
|
|
Loading…
Reference in New Issue