Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-932

JMX port collisions in JmxServer

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.1
    • Fix Version/s: 0.10.1
    • Component/s: None
    • Labels:

      Description

      org.apache.samza.metrics.JmxServer gets an ephemeral port for the registry but does a simple +1 to get the server port. This seems to cause occasional port collisions and should be improved.

      Here's the offending line:
      val serverPort = registryPort + 1 // In comparison to the registry port. Tiny chance of collision. Sigh.

        Attachments

          Activity

            People

            • Assignee:
              jmakes Jake Maes
              Reporter:
              jmakes Jake Maes
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: