public class TestClientClusterStatus extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestClientClusterStatus.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 |
---|
TestClientClusterStatus() |
Modifier and Type | Method and Description |
---|---|
private static void |
checkPbObjectNotNull(org.apache.hadoop.hbase.ClusterStatus status)
HBASE-19496 do the refactor for ServerLoad and RegionLoad so the inner pb object is useless
now.
|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testDefaults() |
void |
testLiveAndDeadServersStatus() |
void |
testMasterAndBackupMastersStatus() |
void |
testNone() |
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 TestClientClusterStatus()
public static void setUpBeforeClass() throws Exception
Exception
public void testDefaults() throws Exception
Exception
public void testLiveAndDeadServersStatus() throws Exception
Exception
public void testMasterAndBackupMastersStatus() throws Exception
Exception
public void testOtherStatusInfos() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testObserver() throws IOException
IOException
private static void checkPbObjectNotNull(org.apache.hadoop.hbase.ClusterStatus status)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.