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
@Tag("org.apache.hadoop.hbase.testclassification.LargeTests") @Tag("org.apache.hadoop.hbase.testclassification.ClientTests")
public class TestAsyncRegionAdminApi2
extends TestAsyncAdminBase
Class to test asynchronous region admin operations.
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
admin, ASYNC_CONN, FAMILY, FAMILY_0, FAMILY_1, getAdmin, LOG, tableName, TEST_UTIL -
Constructor Summary
ConstructorsConstructorDescriptionTestAsyncRegionAdminApi2(Supplier<org.apache.hadoop.hbase.client.AsyncAdmin> admin) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidstatic voidprivate voidsplitTest(org.apache.hadoop.hbase.TableName tableName, int rowCount, boolean isSplitRegion, byte[] splitPoint) static voidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class org.apache.hadoop.hbase.client.TestAsyncAdminBase
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, parameters, setUp, tearDownMethods inherited from class org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
-
Constructor Details
-
TestAsyncRegionAdminApi2
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
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
-