[
https://issues.apache.org/jira/browse/HADOOP-13571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shilun Fan updated HADOOP-13571:
--------------------------------
Component/s: net
Hadoop Flags: Reviewed
Target Version/s: 3.2.3, 3.3.1, 3.4.0
Affects Version/s: 3.2.3
3.3.1
3.4.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
> Components: net
> Affects Versions: 3.3.1, 3.4.0, 3.2.3
> Reporter: Eric Badger
> Assignee: Eric Badger
> Priority: Major
> Fix For: 3.3.1, 3.4.0, 3.2.3
>
> Attachments: HADOOP-13571.001.patch, HADOOP-13571.002.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
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]