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 |
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 HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestClientClusterMetrics() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testAsyncClient() |
void |
testDefaults() |
void |
testLiveAndDeadServersStatus() |
void |
testMasterAndBackupMastersStatus() |
void |
testObserver() |
void |
testOtherStatusInfos() |
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
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 testMasterAndBackupMastersStatus() throws Exception
Exceptionpublic void testOtherStatusInfos() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testObserver() throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.