Package org.apache.hadoop.hbase.util
Class TestRegionMoverWithRSGroupEnable
java.lang.Object
org.apache.hadoop.hbase.util.TestRegionMoverWithRSGroupEnable
@Tag("org.apache.hadoop.hbase.testclassification.MiscTests") @Tag("org.apache.hadoop.hbase.testclassification.MediumTests")
public class TestRegionMoverWithRSGroupEnable
extends Object
Test for rsgroup enable, unloaded regions from decommissoned host of a rsgroup should be assigned
to those regionservers belonging to the same rsgroup.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<org.apache.hadoop.hbase.ServerName>private static final org.slf4j.Loggerprivate org.apache.hadoop.hbase.ServerNameprivate final List<org.apache.hadoop.hbase.net.Address>private static final org.apache.hadoop.hbase.TableNameprivate static final Stringprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOG
-
TEST_UTIL
-
TEST_RSGROUP
- See Also:
-
TABLE_NAME
-
rsservers
-
defaultGroupServers
-
rsContainMeta
-
-
Constructor Details
-
TestRegionMoverWithRSGroupEnable
public TestRegionMoverWithRSGroupEnable()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testUnloadRegions
- Throws:
Exception
-
testUnloadDefaultGroupServerWithRSGroupEnabled
Unloading a server that is in the default RSGroup must still succeed end-to-end when RSGroups are enabled. Destinations must be filtered to the default group: regions may spread across the other default-group servers, but must not land on any test-group server.- Throws:
Exception
-