You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2017/06/02 17:18:04 UTC

[jira] [Resolved] (STORM-2532) Get rid of most uses of Utils.getAvailablePort

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

Robert Joseph Evans resolved STORM-2532.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Thanks [~Srdo],

I merged this into master.

> Get rid of most uses of Utils.getAvailablePort
> ----------------------------------------------
>
>                 Key: STORM-2532
>                 URL: https://issues.apache.org/jira/browse/STORM-2532
>             Project: Apache Storm
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Stig Rohde Døssing
>            Assignee: Stig Rohde Døssing
>             Fix For: 2.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Utils.getAvailablePort is a racy way to acquire a free port. We should only use it in cases where there is no other option (e.g. tests that need a client to try connecting before the server is started)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)