Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-13564

Master MBeans are not published

    XMLWordPrintableJSON

Details

    • Reviewed
    • Hide
      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.
      Show
      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.

    Description

      Master MBeans are not published.
      For more details check the mailing thread on dev@h.a.o with subject "How to retrieve master metrics from JMX client" (http://osdir.com/ml/general/2015-04/msg29773.html)

      Attachments

        1. HBASE-13564.patch
          5 kB
          Ashish Singhi
        2. HBASE-13564-test-fix-addendum.patch
          1 kB
          Ashish Singhi
        3. HBASE-13564-test-fix-addendum-branch-1.patch
          1 kB
          Nick Dimiduk
        4. HBASE-13564-test-fix-addendum-branch-1.patch
          1 kB
          Nick Dimiduk
        5. HBASE-13564-test-fix-addendum-branch-1.patch
          1 kB
          Ashish Singhi

        Activity

          People

            ashish singhi Ashish Singhi
            ashish singhi Ashish Singhi
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: