public class TestJMXConnectorServer extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestJMXConnectorServer.MyAccessController |
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.hadoop.hbase.client.Admin |
admin |
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static boolean |
hasAccess |
private static org.slf4j.Logger |
LOG |
private static int |
rmiRegistryPort |
private static HBaseTestingUtility |
UTIL |
| Constructor and Description |
|---|
TestJMXConnectorServer() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkConnector() |
void |
setUp() |
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testHMConnectorServerWhenShutdownCluster()
This tests to validate the HMaster's ConnectorServer after unauthorised shutdown call.
|
void |
testHMConnectorServerWhenStopMaster()
This tests to validate the HMaster's ConnectorServer after unauthorised stopMaster call.
|
void |
testRSConnectorServerWhenStopRegionServer()
This tests to validate the RegionServer's ConnectorServer after unauthorised stopRegionServer
call.
|
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static HBaseTestingUtility UTIL
private static org.apache.hadoop.conf.Configuration conf
private static org.apache.hadoop.hbase.client.Admin admin
private static int rmiRegistryPort
private static volatile boolean hasAccess
public TestJMXConnectorServer()
public static void setUpBeforeClass() throws Exception
Exceptionpublic static void tearDownAfterClass() throws Exception
Exceptionpublic void setUp()
public void tearDown()
public void testHMConnectorServerWhenStopMaster() throws Exception
Exceptionpublic void testRSConnectorServerWhenStopRegionServer() throws Exception
Exceptionpublic void testHMConnectorServerWhenShutdownCluster() throws Exception
Exceptionprivate void checkConnector() throws Exception
ExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.