Package org.apache.hadoop.hbase.util
Class TestRegionMover1
java.lang.Object
org.apache.hadoop.hbase.util.TestRegionMover1
Tests for Region Mover Load/Unload functionality with and without ack mode and also to test
exclude functionality useful for rack decommissioning
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.Loggerorg.junit.rules.TestNameprivate static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()static voidvoidtearDown()static voidvoidvoidvoidvoidTo test that we successfully exclude a server from the unloading process We test for the number of regions on Excluded server and also test that regions are unloaded successfullyvoidvoidvoidUT for HBASE-21746voidvoidUT for HBASE-21746voidvoidTest to unload a regionserver first and then load it using no Ack mode.private voidwaitForServerDecom(org.apache.hadoop.hbase.regionserver.HRegionServer excludeServer)
-
Field Details
-
CLASS_RULE
-
name
-
LOG
-
TEST_UTIL
-
-
Constructor Details
-
TestRegionMover1
public TestRegionMover1()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testWithAck
- Throws:
Exception
-
testWithoutAck
Test to unload a regionserver first and then load it using no Ack mode.- Throws:
Exception
-
testExclude
To test that we successfully exclude a server from the unloading process We test for the number of regions on Excluded server and also test that regions are unloaded successfully- Throws:
Exception
-
testDesignatedFile
- Throws:
Exception
-
testExcludeAndDesignated
- Throws:
Exception
-
testRegionServerPort
- Throws:
Exception
-
testLoadMetaRegion
UT for HBASE-21746- Throws:
Exception
-
testTargetServerDeadWhenLoading
UT for HBASE-21746- Throws:
Exception
-
testDecomServerExclusionWithAck
- Throws:
Exception
-
waitForServerDecom
-
testDecomServerExclusion
- Throws:
Exception
-
testExcludeAndDecomServers
- Throws:
Exception
-