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

JMX port collisions in JmxServer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1
    • 0.10.1
    • None

    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

        1. SAMZA-932_1.patch
          2 kB
          Jake Maes

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: