hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Badger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-13571) ServerSocketUtil.getPort() should use loopback address, not 0.0.0.0
Date Thu, 01 Sep 2016 13:59:22 GMT

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

Eric Badger updated HADOOP-13571:
---------------------------------
    Attachment: HADOOP-13571.001.patch

Attaching patch to have ServerSocketUtil.getPort() bind to loopback instead of 0.0.0.0.

> ServerSocketUtil.getPort() should use loopback address, not 0.0.0.0
> -------------------------------------------------------------------
>
>                 Key: HADOOP-13571
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13571
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Eric Badger
>            Assignee: Eric Badger
>         Attachments: HADOOP-13571.001.patch
>
>
> Using 0.0.0.0 to check for a free port will succeed even if there's something bound to
that same port on the loopback interface. Since this function is used primarily in testing,
it should be checking the loopback interface for free ports.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message