public class TestStatusResource extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.hbase.rest.client.Client |
client |
private static org.apache.hadoop.conf.Configuration |
conf |
private static JAXBContext |
context |
private static org.slf4j.Logger |
LOG |
private static byte[] |
META_REGION_NAME |
private static HBaseRESTTestingUtility |
REST_TEST_UTIL |
private static HBaseTestingUtility |
TEST_UTIL |
Constructor and Description |
---|
TestStatusResource() |
Modifier and Type | Method and Description |
---|---|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testGetClusterStatusPB() |
void |
testGetClusterStatusXML() |
private static void |
validate(org.apache.hadoop.hbase.rest.model.StorageClusterStatusModel model) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final byte[] META_REGION_NAME
private static final HBaseTestingUtility TEST_UTIL
private static final HBaseRESTTestingUtility REST_TEST_UTIL
private static org.apache.hadoop.hbase.rest.client.Client client
private static JAXBContext context
private static org.apache.hadoop.conf.Configuration conf
public TestStatusResource()
private static void validate(org.apache.hadoop.hbase.rest.model.StorageClusterStatusModel model)
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testGetClusterStatusXML() throws IOException, JAXBException
IOException
JAXBException
public void testGetClusterStatusPB() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.