[ 
https://issues.apache.org/jira/browse/HBASE-13564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashish Singhi updated HBASE-13564:
----------------------------------
    Release Note: 
To use the coprocessor-based JMX implementation provided by HBase for Master.
Add below property in hbase-site.xml file: 

<property>
  <name>hbase.coprocessor.master.classes</name>
  <value>org.apache.hadoop.hbase.JMXListener</value>
</property>

NOTE: DO NOT set `com.sun.management.jmxremote.port` for Java VM at the same 
time.

By default, the JMX listens on TCP port 10101 for Master, we can further 
configure the port using below properties:

<property>
  <name>master.rmi.registry.port</name>
  <value>61110</value>
</property>
<property>
  <name>master.rmi.connector.port</name>
  <value>61120</value>
</property>
----

The registry port can be shared with connector port in most cases, so you only 
need to configure master.rmi.registry.port.
However if you want to use SSL communication, the 2 ports must be configured to 
different values.

> Master MBeans are not published
> -------------------------------
>
>                 Key: HBASE-13564
>                 URL: https://issues.apache.org/jira/browse/HBASE-13564
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.0.1
>            Reporter: Ashish Singhi
>            Assignee: Ashish Singhi
>             Fix For: 2.0.0, 1.1.0, 1.0.2, 1.2.0
>
>         Attachments: HBASE-13564.patch
>
>
> Master MBeans are not published.
> For more details check the mailing thread on [email protected] with subject "How to 
> retrieve master metrics from JMX client" 
> (http://osdir.com/ml/general/2015-04/msg29773.html)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to