Class TestRSStatusPage
java.lang.Object
org.apache.hadoop.hbase.regionserver.http.TestRSStatusPage
Tests for the region server status page and its template.
-
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 TypeMethodDescriptionstatic voidprivate static voidcreateTestTables(org.apache.hadoop.hbase.master.HMaster master) private static StringgetRegionServerStatusPageContent(String hostname, int infoPort) private static Stringstatic voidHelper method to shut down the cluster (if running)void
-
Field Details
-
CLASS_RULE
-
CLUSTER
-
UTIL
-
TEST_TABLE_NAME_1
- See Also:
-
TEST_TABLE_NAME_2
- See Also:
-
name
-
-
Constructor Details
-
TestRSStatusPage
public TestRSStatusPage()
-
-
Method Details
-
beforeClass
- Throws:
Exception
-
shutDownMiniCluster
Helper method to shut down the cluster (if running)- Throws:
Exception
-
testStatusPage
- Throws:
Exception
-
createTestTables
private static void createTestTables(org.apache.hadoop.hbase.master.HMaster master) throws IOException - Throws:
IOException
-
getRegionServerStatusPageContent
private static String getRegionServerStatusPageContent(String hostname, int infoPort) throws IOException - Throws:
IOException
-
getResponseBody
- Throws:
IOException
-