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 SummaryFieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.slf4j.Loggerorg.junit.rules.TestNameprivate static final HBaseTestingUtil
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
TestRegionMover1public TestRegionMover1()
 
- 
- 
Method Details- 
setUpBeforeClass- Throws:
- Exception
 
- 
tearDownAfterClass- Throws:
- Exception
 
- 
setUp- Throws:
- Exception
 
- 
tearDown- Throws:
- Exception
 
- 
testWithAck- Throws:
- Exception
 
- 
testWithoutAckTest to unload a regionserver first and then load it using no Ack mode.- Throws:
- Exception
 
- 
testExcludeTo 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
 
- 
testLoadMetaRegionUT for HBASE-21746- Throws:
- Exception
 
- 
testTargetServerDeadWhenLoadingUT for HBASE-21746- Throws:
- Exception
 
- 
testDecomServerExclusionWithAck- Throws:
- Exception
 
- 
waitForServerDecom
- 
testDecomServerExclusion- Throws:
- Exception
 
- 
testExcludeAndDecomServers- Throws:
- Exception
 
 
-