You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Tao Feng (JIRA)" <ji...@apache.org> on 2016/05/03 06:34:13 UTC

[jira] [Updated] (SAMZA-932) JMX port collisions in JmxServer

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

Tao Feng updated SAMZA-932:
---------------------------
    Assignee:     (was: 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
>              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)