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 TypeFieldDescriptionprivate static final String
static final HBaseClassTestRule
private static final org.slf4j.Logger
org.junit.rules.TestName
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate List<org.apache.hadoop.hbase.client.Put>
createPuts
(int count) private org.apache.hadoop.hbase.TableName
createTable
(String name) org.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
void
void
-
Field Details
-
CLASS_RULE
-
CF
- See Also:
-
name
-
LOG
-
TEST_UTIL
-
-
Constructor Details
-
TestRegionMover2
public TestRegionMover2()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
createTable
- Throws:
IOException
-
testWithMergedRegions
- Throws:
Exception
-
testWithSplitRegions
- Throws:
Exception
-
testFailedRegionMove
- Throws:
Exception
-
testDeletedTable
- 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
-
createPuts
-
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
-