[ 
https://issues.apache.org/jira/browse/SAMZA-932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15244011#comment-15244011
 ] 

Tao Feng commented on SAMZA-932:
--------------------------------

https://reviews.apache.org/r/46296/

> 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
>              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