public class TestClientClusterMetrics extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestClientClusterMetrics.MyObserver |
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.hadoop.hbase.client.Admin |
ADMIN |
private static byte[] |
CF |
static HBaseClassTestRule |
CLASS_RULE |
private static MiniHBaseCluster |
CLUSTER |
private static org.apache.hadoop.hbase.regionserver.HRegionServer |
DEAD |
private static int |
MASTERS |
private static int |
SLAVES |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestClientClusterMetrics() |
| Modifier and Type | Method and Description |
|---|---|
private static void |
insertData(org.apache.hadoop.hbase.TableName tableName,
int startRow,
int rowCount) |
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testAsyncClient() |
void |
testDefaults() |
void |
testLiveAndDeadServersStatus() |
void |
testMasterAndBackupMastersStatus() |
void |
testObserver() |
void |
testOtherStatusInfos() |
void |
testRegionStatesCount() |
public static final HBaseClassTestRule CLASS_RULE
private static HBaseTestingUtility UTIL
private static org.apache.hadoop.hbase.client.Admin ADMIN
private static final int SLAVES
private static final int MASTERS
private static MiniHBaseCluster CLUSTER
private static org.apache.hadoop.hbase.regionserver.HRegionServer DEAD
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final byte[] CF
public TestClientClusterMetrics()
public static void setUpBeforeClass() throws Exception
Exceptionpublic void testDefaults() throws Exception
Exceptionpublic void testAsyncClient() throws Exception
Exceptionpublic void testLiveAndDeadServersStatus() throws Exception
Exceptionpublic void testRegionStatesCount() throws Exception
Exceptionpublic void testMasterAndBackupMastersStatus() throws Exception
Exceptionpublic void testOtherStatusInfos() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testObserver() throws IOException
IOExceptionprivate static void insertData(org.apache.hadoop.hbase.TableName tableName, int startRow, int rowCount) throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.