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
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void testGetClusterStatusXML() throws IOException, JAXBException
IOExceptionJAXBExceptionpublic void testGetClusterStatusPB() throws IOException
IOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.