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
IOException
public void testStatusTemplateNoTables() throws IOException
IOException
public void testStatusTemplateMetaAvailable() throws IOException
IOException
public void testStatusTemplateWithServers() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.