Package org.apache.hadoop.hbase
Class TestJMXConnectorServer
java.lang.Object
org.apache.hadoop.hbase.TestJMXConnectorServer
Test case for JMX Connector Server.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static org.apache.hadoop.hbase.client.Adminstatic final HBaseClassTestRuleprivate static org.apache.hadoop.conf.Configurationprivate static booleanprivate static final org.slf4j.Loggerprivate static intprivate static HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidsetUp()static voidvoidtearDown()static voidvoidThis tests to validate the HMaster's ConnectorServer after unauthorised shutdown call.voidThis tests to validate the HMaster's ConnectorServer after unauthorised stopMaster call.voidThis 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
-