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 |
(package 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 |
---|---|
void |
setUp() |
void |
tearDown() |
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
static boolean hasAccess
public TestJMXConnectorServer()
public void testHMConnectorServerWhenStopMaster() throws Exception
Exception
public void testRSConnectorServerWhenStopRegionServer() throws Exception
Exception
public void testHMConnectorServerWhenShutdownCluster() throws Exception
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.