Package org.apache.hadoop.hbase
Class TestClientClusterStatus
java.lang.Object
org.apache.hadoop.hbase.TestClientClusterStatus
Test the ClusterStatus.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Adminstatic final HBaseClassTestRuleprivate static MiniHBaseClusterprivate static org.apache.hadoop.hbase.regionserver.HRegionServerprivate static final intprivate static final intprivate static HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidcheckPbObjectNotNull(org.apache.hadoop.hbase.ClusterStatus status) HBASE-19496 do the refactor for ServerLoad and RegionLoad so the inner pb object is useless now.static voidstatic voidvoidvoidvoidvoidtestNone()voidvoid
-
Field Details
-
CLASS_RULE
-
UTIL
-
ADMIN
-
SLAVES
- See Also:
-
MASTERS
- See Also:
-
CLUSTER
-
DEAD
-
-
Constructor Details
-
TestClientClusterStatus
public TestClientClusterStatus()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
testDefaults
- Throws:
Exception
-
testNone
- Throws:
Exception
-
testLiveAndDeadServersStatus
- Throws:
Exception
-
testMasterAndBackupMastersStatus
- Throws:
Exception
-
testOtherStatusInfos
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
testObserver
- Throws:
IOException
-
checkPbObjectNotNull
HBASE-19496 do the refactor for ServerLoad and RegionLoad so the inner pb object is useless now. However, they are Public classes, and consequently we must make sure the all pb objects have initialized.
-