public class TestMasterStatusServlet extends Object
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.hbase.client.Admin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.conf.Configuration |
conf |
(package private) static org.apache.hadoop.hbase.ServerName |
FAKE_HOST |
(package private) static org.apache.hadoop.hbase.HRegionInfo |
FAKE_HRI |
(package private) static org.apache.hadoop.hbase.HTableDescriptor |
FAKE_TABLE |
private org.apache.hadoop.hbase.master.HMaster |
master |
| Constructor and Description |
|---|
TestMasterStatusServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
setupBasicMocks() |
private void |
setupMockTables() |
void |
testStatusTemplateMetaAvailable() |
void |
testStatusTemplateNoTables() |
void |
testStatusTemplateWithServers() |
public static final HBaseClassTestRule CLASS_RULE
private org.apache.hadoop.hbase.master.HMaster master
private org.apache.hadoop.conf.Configuration conf
private org.apache.hadoop.hbase.client.Admin admin
static final org.apache.hadoop.hbase.ServerName FAKE_HOST
static final org.apache.hadoop.hbase.HTableDescriptor FAKE_TABLE
static final org.apache.hadoop.hbase.HRegionInfo FAKE_HRI
public TestMasterStatusServlet()
public void setupBasicMocks()
private void setupMockTables() throws IOException
IOExceptionpublic void testStatusTemplateNoTables() throws IOException
IOExceptionpublic void testStatusTemplateMetaAvailable() throws IOException
IOExceptionpublic void testStatusTemplateWithServers() throws IOException
IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.