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

JMX port collisions in JmxServer

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment