[ 
https://issues.apache.org/jira/browse/HDDS-1582?focusedWorklogId=246817&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-246817
 ]

ASF GitHub Bot logged work on HDDS-1582:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 22/May/19 15:59
            Start Date: 22/May/19 15:59
    Worklog Time Spent: 10m 
      Work Description: mukul1987 commented on pull request #844: HDDS-1582. 
Fix BindException due to address already in use in unit tests. Contributed by 
Mukul Kumar Singh.
URL: https://github.com/apache/hadoop/pull/844
 
 
   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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 246817)
            Time Spent: 10m
    Remaining Estimate: 0h

> 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
>              Labels: pull-request-available
>          Time Spent: 10m
>  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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to