[ 
https://issues.apache.org/jira/browse/SAMZA-932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tao Feng reassigned SAMZA-932:
------------------------------

    Assignee: Tao Feng

> JMX port collisions in JmxServer
> --------------------------------
>
>                 Key: SAMZA-932
>                 URL: https://issues.apache.org/jira/browse/SAMZA-932
>             Project: Samza
>          Issue Type: Bug
>    Affects Versions: 0.10.1
>            Reporter: Jake Maes
>            Assignee: Tao Feng
>              Labels: newbie
>             Fix For: 0.10.1
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to