Class TestMasterStatusPage
java.lang.Object
org.apache.hadoop.hbase.master.http.TestMasterStatusPage
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.LocalHBaseClusterorg.junit.rules.TestNamestatic final Stringstatic final Stringprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidassertRegionServerLinks(org.apache.hadoop.hbase.master.HMaster master, String responseBody) private static voidassertTableLinks(org.apache.hadoop.hbase.master.HMaster master, String responseBody) static voidprivate static voidcreateTestTables(org.apache.hadoop.hbase.master.HMaster master) private Stringprivate Stringprivate static Stringstatic voidHelper method to shut down the cluster (if running)void
-
Field Details
-
CLASS_RULE
-
UTIL
-
TEST_TABLE_NAME_1
- See Also:
-
TEST_TABLE_NAME_2
- See Also:
-
CLUSTER
-
name
-
-
Constructor Details
-
TestMasterStatusPage
public TestMasterStatusPage()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
shutDownMiniCluster
Helper method to shut down the cluster (if running)- Throws:
Exception
-
testMasterStatusPage
- Throws:
Exception
-
getMasterStatusPageContent
- Throws:
IOException
-
createTestTables
private static void createTestTables(org.apache.hadoop.hbase.master.HMaster master) throws IOException - Throws:
IOException
-
getInfoServerHostAndPort
-
getResponseBody
- Throws:
IOException
-
assertRegionServerLinks
private static void assertRegionServerLinks(org.apache.hadoop.hbase.master.HMaster master, String responseBody) -
assertTableLinks
private static void assertTableLinks(org.apache.hadoop.hbase.master.HMaster master, String responseBody)
-