Class TestMasterStatusPage
java.lang.Object
org.apache.hadoop.hbase.master.http.TestMasterStatusPage
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static org.apache.hadoop.hbase.LocalHBaseCluster
org.junit.rules.TestName
static final String
static final String
private static final HBaseTestingUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
assertRegionServerLinks
(org.apache.hadoop.hbase.master.HMaster master, String responseBody) private static void
assertTableLinks
(org.apache.hadoop.hbase.master.HMaster master, String responseBody) static void
private static void
createTestTables
(org.apache.hadoop.hbase.master.HMaster master) private String
private String
private static String
static void
Helper 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)
-