You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/05/22 15:59:55 UTC

[GitHub] [hadoop] mukul1987 opened a new pull request #844: HDDS-1582. Fix BindException due to address already in use in unit tests. Contributed by Mukul Kumar Singh.

mukul1987 opened a new 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:
users@infra.apache.org


With regards,
Apache Git Services

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