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
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void setUp()
public void tearDown()
public void testHMConnectorServerWhenStopMaster() throws Exception
Exception
public void testRSConnectorServerWhenStopRegionServer() throws Exception
Exception
public void testHMConnectorServerWhenShutdownCluster() throws Exception
Exception
private void checkConnector() throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.