public class TestAsyncClusterAdminApi extends TestAsyncAdminBase
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
private Path |
cnf2Path |
private Path |
cnf3Path |
private Path |
cnfPath |
| Constructor and Description |
|---|
TestAsyncClusterAdminApi() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkRegionsAndRegionLoads(Collection<org.apache.hadoop.hbase.client.RegionInfo> regions,
Collection<org.apache.hadoop.hbase.RegionMetrics> regionLoads) |
private void |
compareRegionLoads(Collection<org.apache.hadoop.hbase.RegionMetrics> regionLoadCluster,
Collection<org.apache.hadoop.hbase.RegionMetrics> regionLoads) |
private void |
createAndLoadTable(org.apache.hadoop.hbase.TableName[] tables) |
private void |
replaceHBaseSiteXML() |
private void |
restoreHBaseSiteXML() |
static void |
setUpBeforeClass() |
private void |
setUpforLogRolling() |
private org.apache.hadoop.hbase.regionserver.HRegionServer |
startAndWriteData(org.apache.hadoop.hbase.TableName tableName,
byte[] value) |
void |
testAllClusterOnlineConfigChange() |
void |
testGetMasterInfoPort() |
void |
testGetRegionLoads() |
void |
testMasterOnlineConfigChange() |
void |
testRegionServerOnlineConfigChange() |
void |
testRollWALWALWriter() |
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, tearDown, tearDownAfterClasspublic static final HBaseClassTestRule CLASS_RULE
public TestAsyncClusterAdminApi()
public static void setUpBeforeClass() throws Exception
Exceptionpublic void testGetMasterInfoPort() throws Exception
Exceptionpublic void testRegionServerOnlineConfigChange() throws Exception
Exceptionpublic void testMasterOnlineConfigChange() throws Exception
Exceptionpublic void testAllClusterOnlineConfigChange() throws IOException
IOExceptionprivate void replaceHBaseSiteXML() throws IOException
IOExceptionprivate void restoreHBaseSiteXML() throws IOException
IOExceptionpublic void testRollWALWALWriter() throws Exception
Exceptionprivate void setUpforLogRolling()
private org.apache.hadoop.hbase.regionserver.HRegionServer startAndWriteData(org.apache.hadoop.hbase.TableName tableName, byte[] value) throws Exception
Exceptionpublic void testGetRegionLoads() throws Exception
Exceptionprivate void compareRegionLoads(Collection<org.apache.hadoop.hbase.RegionMetrics> regionLoadCluster, Collection<org.apache.hadoop.hbase.RegionMetrics> regionLoads)
private void checkRegionsAndRegionLoads(Collection<org.apache.hadoop.hbase.client.RegionInfo> regions, Collection<org.apache.hadoop.hbase.RegionMetrics> regionLoads)
private void createAndLoadTable(org.apache.hadoop.hbase.TableName[] tables)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.