Package org.apache.hadoop.hbase.client
Class TestAsyncClusterAdminApi
java.lang.Object
org.apache.hadoop.hbase.client.AbstractTestUpdateConfiguration
org.apache.hadoop.hbase.client.TestAsyncAdminBase
org.apache.hadoop.hbase.client.TestAsyncClusterAdminApi
@Tag("org.apache.hadoop.hbase.testclassification.ClientTests") @Tag("org.apache.hadoop.hbase.testclassification.LargeTests")
public class TestAsyncClusterAdminApi
extends TestAsyncAdminBase
-
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
ConstructorsConstructorDescriptionTestAsyncClusterAdminApi(Supplier<org.apache.hadoop.hbase.client.AsyncAdmin> admin) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcheckRegionsAndRegionLoads(Collection<org.apache.hadoop.hbase.client.RegionInfo> regions, Collection<org.apache.hadoop.hbase.RegionMetrics> regionLoads) private voidcompareRegionLoads(Collection<org.apache.hadoop.hbase.RegionMetrics> regionLoadCluster, Collection<org.apache.hadoop.hbase.RegionMetrics> regionLoads) private voidcreateAndLoadTable(org.apache.hadoop.hbase.TableName[] tables) static voidprivate voidprivate org.apache.hadoop.hbase.regionserver.HRegionServerstartAndWriteData(org.apache.hadoop.hbase.TableName tableName, byte[] value) static voidvoidvoidvoidvoidvoidvoidvoidMethods 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
-
TestAsyncClusterAdminApi
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testGetMasterInfoPort
- Throws:
Exception
-
testRegionServerOnlineConfigChange
- Throws:
Exception
-
testMasterOnlineConfigChange
- Throws:
Exception
-
testAllClusterOnlineConfigChange
- Throws:
IOException
-
testRollWALWALWriter
- Throws:
Exception
-
setUpforLogRolling
-
startAndWriteData
private org.apache.hadoop.hbase.regionserver.HRegionServer startAndWriteData(org.apache.hadoop.hbase.TableName tableName, byte[] value) throws Exception - Throws:
Exception
-
testGetRegionLoads
- Throws:
Exception
-
testGetRegionServers
- Throws:
Exception
-
compareRegionLoads
private void compareRegionLoads(Collection<org.apache.hadoop.hbase.RegionMetrics> regionLoadCluster, Collection<org.apache.hadoop.hbase.RegionMetrics> regionLoads) -
checkRegionsAndRegionLoads
private void checkRegionsAndRegionLoads(Collection<org.apache.hadoop.hbase.client.RegionInfo> regions, Collection<org.apache.hadoop.hbase.RegionMetrics> regionLoads) -
createAndLoadTable
-