org.apache.hadoop.hbase
Class JMXListener
java.lang.Object
org.apache.hadoop.hbase.JMXListener
- All Implemented Interfaces:
- Coprocessor
public class JMXListener
- extends Object
- implements Coprocessor
Pluggable JMX Agent for HBase(to fix the 2 random TCP ports issue
of the out-of-the-box JMX Agent):
1)connector port can share with the registry port if SSL is OFF
2)support password authentication
3)support subset of SSL (with default configuration)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.commons.logging.Log LOG
RMI_REGISTRY_PORT_CONF_KEY
public static final String RMI_REGISTRY_PORT_CONF_KEY
- See Also:
- Constant Field Values
RMI_CONNECTOR_PORT_CONF_KEY
public static final String RMI_CONNECTOR_PORT_CONF_KEY
- See Also:
- Constant Field Values
defMasterRMIRegistryPort
public static final int defMasterRMIRegistryPort
- See Also:
- Constant Field Values
defRegionserverRMIRegistryPort
public static final int defRegionserverRMIRegistryPort
- See Also:
- Constant Field Values
JMXListener
public JMXListener()
buildJMXServiceURL
public static JMXServiceURL buildJMXServiceURL(int rmiRegistryPort,
int rmiConnectorPort)
throws IOException
- Throws:
IOException
startConnectorServer
public void startConnectorServer(int rmiRegistryPort,
int rmiConnectorPort)
throws IOException
- Throws:
IOException
stopConnectorServer
public void stopConnectorServer()
throws IOException
- Throws:
IOException
start
public void start(CoprocessorEnvironment env)
throws IOException
- Specified by:
start
in interface Coprocessor
- Throws:
IOException
stop
public void stop(CoprocessorEnvironment env)
throws IOException
- Specified by:
stop
in interface Coprocessor
- Throws:
IOException
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.