Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1350

Please make JMX registration optional in LearnerZooKeeperServer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 3.4.0
    • None
    • server
    • None

    Description

      LearnerZooKeeperServer has no option to disable JMX registrations. Curator has a test ZK server cluster. Due to the intricacies of JMX, the registrations cannot be easily undone. In order for the Curator Test cluster to be re-usable in a testing session, JavaAssist ugliness was necessary to make LearnerZooKeeperServer.registerJMX() and LearnerZooKeeperServer.unregisterJMX() NOPs.

      I suggest a simple System property.

      Attachments

        1. jmx_optional.diff
          4 kB
          Jordan Zimmerman
        2. patch.txt
          19 kB
          Jordan Zimmerman
        3. ZOOKEEPER-1350.diff
          40 kB
          Stevo Slavić
        4. ZOOKEEPER-1350-trunk.diff
          40 kB
          Stevo Slavić

        Activity

          People

            randgalt Jordan Zimmerman
            randgalt Jordan Zimmerman
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: