Class TestRegionsOnMasterOptions
java.lang.Object
org.apache.hadoop.hbase.master.balancer.TestRegionsOnMasterOptions
Test options for regions on master; none, system, or any (i.e. master is like any other
regionserver). Checks how regions are deployed when each of the options are enabled. It then does
kill combinations to make sure the distribution is more than just for startup. NOTE: Regions on
Master does not work well. See HBASE-19828. Until addressed, disabling this test.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.conf.Configurationstatic final HBaseClassTestRuleprivate static final org.slf4j.Loggerprivate static final intorg.junit.rules.TestNameprivate static final intprivate static final intprivate static final intprivate Stringprivate Stringprivate static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckBalance(int masterCount, int rsCount) private voidcheckCount(int actual, int expected) voidsetup()voidtearDown()voidvoidvoidprivate void
-
Field Details
-
CLASS_RULE
-
LOG
-
name
-
TEST_UTIL
-
c
-
tablesOnMasterOldValue
-
systemTablesOnMasterOldValue
-
SLAVES
- See Also:
-
MASTERS
- See Also:
-
REGIONS
- See Also:
-
SYSTEM_REGIONS
- See Also:
-
-
Constructor Details
-
TestRegionsOnMasterOptions
public TestRegionsOnMasterOptions()
-
-
Method Details