You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arpit Agarwal (Jira)" <ji...@apache.org> on 2020/02/28 21:24:00 UTC

[jira] [Updated] (HDDS-1582) Fix BindException due to address already in use in unit tests

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

Arpit Agarwal updated HDDS-1582:
--------------------------------
    Target Version/s: 0.6.0  (was: 0.5.0)

> Fix BindException due to address already in use in unit tests
> -------------------------------------------------------------
>
>                 Key: HDDS-1582
>                 URL: https://issues.apache.org/jira/browse/HDDS-1582
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.3.0
>            Reporter: Mukul Kumar Singh
>            Assignee: Mukul Kumar Singh
>            Priority: Blocker
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> This bug fixes the issues seen in HDDS-1384 & HDDS-1282, where unit tests are timing out because of BindException.
> The fix is to use Socket.bind in place of server sockets. The biggest difference is that ServerSocket will do accept and listen after binding to the socket and this will keep the sockets in TIME_WAIT state after close. Please refer, https://docs.oracle.com/javase/tutorial/networking/sockets/definition.html



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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