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/08/17 14:36:09 UTC

[GitHub] [hadoop] nandakumar131 commented on issue #1303: HDDS-1903 : Use dynamic ports for SCM in TestSCMClientProtocolServer …

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