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 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 TypeMethodDescriptionstatic void
private static void
createTestTables
(org.apache.hadoop.hbase.master.HMaster master) private static String
getRegionServerStatusPageContent
(String hostname, int infoPort) private static String
static void
Helper 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
-