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

zkServer.sh status does not work if JMX Port is enabled

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Bug
    • Affects Version/s: 3.4.8
    • Fix Version/s: None
    • Component/s: scripts
    • Labels:
      None
    • Environment:

      Linux Centos 6
      Java 1.7

      Description

      If I try to execute 'bin/zkServer.sh status' while having
      '-Dcom.sun.management.jmxremote.port=9011' in $JVMFLAGS,
      zookeeper quits with "Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 9011".

      EIther some other means of getting status should be used, or some way of not setting JMX variables in this case should be added.

      Thanks

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sdh Siddhartha
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: