Package org.apache.hadoop.hbase.util
Class TestRegionMover2
java.lang.Object
org.apache.hadoop.hbase.util.TestRegionMover2
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 HBaseTestingUtility
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.ServerName
findDestinationServerName
(org.apache.hadoop.hbase.ServerName sourceServerName) org.apache.hadoop.hbase.ServerName
org.apache.hadoop.hbase.ServerName
findSourceServerName
(org.apache.hadoop.hbase.TableName tableName) void
loadDummyDataInTable
(org.apache.hadoop.hbase.TableName tableName) void
regionIsolationOperation
(org.apache.hadoop.hbase.ServerName sourceServerName, org.apache.hadoop.hbase.ServerName destinationServerName, int numRegionsToIsolate, boolean isolateMetaAlso) void
setUp()
static void
void
tearDown()
static void
void
void
void
void
void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
name
-
LOG
-
TEST_UTIL
-
-
Constructor Details
-
TestRegionMover2
public TestRegionMover2()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testWithSplitRegions
- Throws:
Exception
-
testFailedRegionMove
- Throws:
Exception
-
loadDummyDataInTable
- Throws:
Exception
-
testIsolateSingleRegionOnTheSameServer
- Throws:
Exception
-
testIsolateSingleRegionOnTheDifferentServer
- Throws:
Exception
-
testIsolateMultipleRegionsOnTheSameServer
- Throws:
Exception
-
testIsolateMultipleRegionsOnTheDifferentServer
- Throws:
Exception
-
testIsolateMetaOnTheSameSever
- Throws:
Exception
-
testIsolateMetaOnTheDifferentServer
- Throws:
Exception
-
testIsolateMetaAndRandomRegionOnTheMetaServer
- Throws:
Exception
-
testIsolateMetaAndRandomRegionOnTheRandomServer
- Throws:
Exception
-
findMetaRSLocation
- Throws:
Exception
-
findSourceServerName
public org.apache.hadoop.hbase.ServerName findSourceServerName(org.apache.hadoop.hbase.TableName tableName) throws Exception - Throws:
Exception
-
findDestinationServerName
public org.apache.hadoop.hbase.ServerName findDestinationServerName(org.apache.hadoop.hbase.ServerName sourceServerName) throws Exception - Throws:
Exception
-
regionIsolationOperation
public void regionIsolationOperation(org.apache.hadoop.hbase.ServerName sourceServerName, org.apache.hadoop.hbase.ServerName destinationServerName, int numRegionsToIsolate, boolean isolateMetaAlso) throws Exception - Throws:
Exception
-