Class TestMasterStatusServlet
java.lang.Object
org.apache.hadoop.hbase.master.http.TestMasterStatusServlet
Tests for the master status page and its template.
-
Field Summary
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
private org.apache.hadoop.conf.Configuration
(package private) static final org.apache.hadoop.hbase.ServerName
(package private) static final org.apache.hadoop.hbase.client.RegionInfo
(package private) static final org.apache.hadoop.hbase.client.TableDescriptor
private org.apache.hadoop.hbase.master.HMaster
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
private void
void
void
void
-
Field Details
-
CLASS_RULE
-
master
-
conf
-
admin
-
FAKE_HOST
-
FAKE_TABLE
-
FAKE_HRI
-
-
Constructor Details
-
TestMasterStatusServlet
public TestMasterStatusServlet()
-
-
Method Details
-
setupBasicMocks
-
setupMockTables
- Throws:
IOException
-
testStatusTemplateNoTables
- Throws:
IOException
-
testStatusTemplateMetaAvailable
- Throws:
IOException
-
testStatusTemplateWithServers
- Throws:
IOException
-