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
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final org.slf4j.Logger
org.junit.rules.TestName
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUp()
static void
void
tearDown()
static void
void
void
void
void
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 successfullyvoid
void
void
UT for HBASE-21746void
void
UT for HBASE-21746void
void
Test to unload a regionserver first and then load it using no Ack mode.private void
waitForServerDecom
(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
-