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

Avoid random port usage by default JMX Server. Create Custome JMX server

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.99.0, 0.98.4
    • None
    • Reviewed
    • Hide
      Optional custom JMX server. Allows user to control the port used by JMX server (JMX is on RMI which chooses random port for reply).

      Set hbase.master.rmi.registry.port and hbase.regionserver.rmi.registry.port to enable this facility.
      Show
      Optional custom JMX server. Allows user to control the port used by JMX server (JMX is on RMI which chooses random port for reply). Set hbase.master.rmi.registry.port and hbase.regionserver.rmi.registry.port to enable this facility.

    Description

      If we enable JMX MBean server for HMaster or Region server through VM arguments, the process will use one random which we cannot configure.
      This can be a problem if that random port is configured for some other service.

      This issue can be avoided by supporting a custom JMX Server.

      The ports can be configured. If there is no ports configured, it will continue the same way as now.

      Attachments

        1. HBASE-10289-v4.patch
          17 kB
          Demai Ni
        2. hbase10289-master-v2.patch
          18 kB
          Qiang Tian
        3. hbase10289-master-v1.patch
          17 kB
          Qiang Tian
        4. HBase10289-master.patch
          11 kB
          Qiang Tian
        5. hbase10289-doc_update-master.patch
          1 kB
          Qiang Tian
        6. hbase10289-0.98.patch
          12 kB
          Qiang Tian
        7. HBASE-10289.patch
          7 kB
          nijel
        8. HBASE-10289_3.patch
          16 kB
          nijel
        9. HBASE-10289_2.patch
          15 kB
          nijel
        10. HBASE-10289_1.patch
          8 kB
          nijel

        Issue Links

          Activity

            People

              tianq Qiang Tian
              nijel nijel
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: