Package org.apache.hadoop.hbase.client
Class TestAsyncRegionAdminApi2
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
org.apache.hadoop.hbase.client.TestAsyncAdminBase
org.apache.hadoop.hbase.client.TestAsyncRegionAdminApi2
Class to test asynchronous region admin operations.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
private void
splitTest
(org.apache.hadoop.hbase.TableName tableName, int rowCount, boolean isSplitRegion, byte[] splitPoint) void
void
void
void
void
void
void
void
void
Methods inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, setUpBeforeClass, tearDown, tearDownAfterClass
Methods inherited from class org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
-
Field Details
-
CLASS_RULE
-
-
Constructor Details
-
TestAsyncRegionAdminApi2
public TestAsyncRegionAdminApi2()
-
-
Method Details
-
testGetRegionLocation
- Throws:
Exception
-
testSplitSwitch
- Throws:
Exception
-
testMergeSwitch
- Throws:
Exception
-
initSplitMergeSwitch
- Throws:
Exception
-
testMergeRegions
- Throws:
Exception
-
testMergeRegionsInvalidRegionCount
- Throws:
Exception
-
testSplitTable
- Throws:
Exception
-
splitTest
private void splitTest(org.apache.hadoop.hbase.TableName tableName, int rowCount, boolean isSplitRegion, byte[] splitPoint) throws Exception - Throws:
Exception
-
testTruncateRegion
- Throws:
Exception
-
testTruncateReplicaRegionNotAllowed
- Throws:
Exception
-
testTruncateRegionsMetaTableRegionsNotAllowed
- Throws:
Exception
-