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
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.conf.Configuration
static final HBaseClassTestRule
private static final org.slf4j.Logger
private static final int
org.junit.rules.TestName
private static final int
private static final int
private static final int
private String
private String
private static final HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
checkBalance
(int masterCount, int rsCount) private void
checkCount
(int actual, int expected) void
setup()
void
tearDown()
void
void
void
private 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