Kafka
  1. Kafka
  2. KAFKA-144

kafka-server-start.sh ignores JMX_PORT

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.7
    • Component/s: packaging
    • Labels:
      None
    • Environment:
      All

      Description

      The launch script kafka-server-start.sh forces the JMX_PORT environment variable to the value '9999' thus ignoring any previous value.

      1. KAFKA-144.patch
        0.3 kB
        Mathias Herberts

        Activity

        Hide
        Mathias Herberts added a comment -

        Changes the forces assignment to JMX_PORT to a conditional one, thus taking into consideration the previous value of JMX_PORT if it is set.

        Show
        Mathias Herberts added a comment - Changes the forces assignment to JMX_PORT to a conditional one, thus taking into consideration the previous value of JMX_PORT if it is set.
        Hide
        Jun Rao added a comment -

        +1. Thanks Mathias for the patch. I just committed this.

        Show
        Jun Rao added a comment - +1. Thanks Mathias for the patch. I just committed this.

          People

          • Assignee:
            Unassigned
            Reporter:
            Mathias Herberts
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development