public class TestAsyncClusterAdminApi extends TestAsyncAdminBase
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
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) |
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 |
testGetRegionServers() |
void |
testMasterOnlineConfigChange() |
void |
testRegionServerOnlineConfigChange() |
void |
testRollWALWALWriter() |
createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, createTableWithDefaultConf, params, setUp, tearDown, tearDownAfterClass
addResourceToRegionServerConfiguration, replaceHBaseSiteXML, restoreHBaseSiteXML, setUpConfigurationFiles
public static final HBaseClassTestRule CLASS_RULE
public TestAsyncClusterAdminApi()
public static void setUpBeforeClass() throws Exception
Exception
public void testGetMasterInfoPort() throws Exception
Exception
public void testRegionServerOnlineConfigChange() throws Exception
Exception
public void testMasterOnlineConfigChange() throws Exception
Exception
public void testAllClusterOnlineConfigChange() throws IOException
IOException
public void testRollWALWALWriter() throws Exception
Exception
private void setUpforLogRolling()
private org.apache.hadoop.hbase.regionserver.HRegionServer startAndWriteData(org.apache.hadoop.hbase.TableName tableName, byte[] value) throws Exception
Exception
public void testGetRegionLoads() throws Exception
Exception
public void testGetRegionServers() throws Exception
Exception
private 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.