Package org.apache.hadoop.hbase
Class TestJMXConnectorServer
java.lang.Object
org.apache.hadoop.hbase.TestJMXConnectorServer
Test case for JMX Connector Server.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Admin
static final HBaseClassTestRule
private static org.apache.hadoop.conf.Configuration
private static boolean
private static final org.slf4j.Logger
private static int
private static HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
setUp()
static void
void
tearDown()
static void
void
This tests to validate the HMaster's ConnectorServer after unauthorised shutdown call.void
This tests to validate the HMaster's ConnectorServer after unauthorised stopMaster call.void
This tests to validate the RegionServer's ConnectorServer after unauthorised stopRegionServer call.
-
Field Details
-
CLASS_RULE
-
LOG
-
UTIL
-
conf
-
admin
-
rmiRegistryPort
-
hasAccess
-
-
Constructor Details
-
TestJMXConnectorServer
public TestJMXConnectorServer()
-
-
Method Details
-
setUpBeforeClass
- Throws:
Exception
-
tearDownAfterClass
- Throws:
Exception
-
setUp
-
tearDown
-
testHMConnectorServerWhenStopMaster
This tests to validate the HMaster's ConnectorServer after unauthorised stopMaster call.- Throws:
Exception
-
testRSConnectorServerWhenStopRegionServer
This tests to validate the RegionServer's ConnectorServer after unauthorised stopRegionServer call.- Throws:
Exception
-
testHMConnectorServerWhenShutdownCluster
This tests to validate the HMaster's ConnectorServer after unauthorised shutdown call.- Throws:
Exception
-
checkConnector
- Throws:
Exception
-