Class TestMasterStatusPage
java.lang.Object
org.apache.hadoop.hbase.master.http.TestMasterStatusPage
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static org.apache.hadoop.hbase.LocalHBaseClusterorg.junit.rules.TestNamestatic final Stringstatic final Stringprivate static final HBaseTestingUtil
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
TestMasterStatusPagepublic TestMasterStatusPage()
 
- 
- 
Method Details- 
beforeClass- Throws:
- Exception
 
- 
shutDownMiniClusterHelper method to shut down the cluster (if running)- Throws:
- Exception
 
- 
testMasterStatusPage- Throws:
- Exception
 
- 
getMasterStatusPageContent- Throws:
- IOException
 
- 
createTestTablesprivate static void createTestTables(org.apache.hadoop.hbase.master.HMaster master) throws IOException - Throws:
- IOException
 
- 
getInfoServerHostAndPort
- 
getResponseBody- Throws:
- IOException
 
- 
assertRegionServerLinksprivate static void assertRegionServerLinks(org.apache.hadoop.hbase.master.HMaster master, String responseBody) 
- 
assertTableLinksprivate static void assertTableLinks(org.apache.hadoop.hbase.master.HMaster master, String responseBody) 
 
-