hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [hadoop] nandakumar131 commented on issue #1303: HDDS-1903 : Use dynamic ports for SCM in TestSCMClientProtocolServer …
Date Sat, 17 Aug 2019 14:36:09 GMT
nandakumar131 commented on issue #1303: HDDS-1903 : Use dynamic ports for SCM in TestSCMClientProtocolServer
…
URL: https://github.com/apache/hadoop/pull/1303#issuecomment-522242889
 
 
   Thanks @avijayanhwx for working on this.
   
   It is better to specify the port as `0` in the test, which will allow SCM to choose a random
port.
   
   In the current solution there is a gap between the port identification (inside test-case)
and the binding of service to that port (when SCM initializes), because of this gap, sometimes
the same port is given out multiple times by the OperatingSystem since the port is still free.
We will again run into bind exceptions.

----------------------------------------------------------------
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


Mime
View raw message