You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@uniffle.apache.org by "maobaolong (via GitHub)" <gi...@apache.org> on 2024/08/19 10:55:42 UTC

[I] [Umbrella] Fix UTs to use random port instead of constant port to avoid port in used [incubator-uniffle]

maobaolong opened a new issue, #2064:
URL: https://github.com/apache/incubator-uniffle/issues/2064

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the [issues](https://github.com/apache/incubator-uniffle/issues) and found no similar issues.
   
   
   ### Describe the proposal
   
   Run UTs may encounter port already bind exception if your test node run another uniffle or process with same port.
   
   We can use random port instead of constant port.
   
   ### Task list
   
   placeholder
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


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

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] [Umbrella] Fix UTs to use random port instead of constant port to avoid port in used [uniffle]

Posted by "lifeSo (via GitHub)" <gi...@apache.org>.
lifeSo commented on issue #2064:
URL: https://github.com/apache/uniffle/issues/2064#issuecomment-2711354396

   what will happen when random port already used and then throw exception ? 
   
   So, I think can add check: if there is port already used, then use other port , what do you think ? 
   


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

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] [Umbrella] Fix UTs to use random port instead of constant port to avoid port in used [uniffle]

Posted by "summaryzb (via GitHub)" <gi...@apache.org>.
summaryzb commented on issue #2064:
URL: https://github.com/apache/uniffle/issues/2064#issuecomment-2721033613

   For grpc and netty port, server will retry to bind free port when it set to zero. For jetty port, server will bind a free port directly


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

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] [Umbrella] Fix UTs to use random port instead of constant port to avoid port in used [incubator-uniffle]

Posted by "cchung100m (via GitHub)" <gi...@apache.org>.
cchung100m commented on issue #2064:
URL: https://github.com/apache/incubator-uniffle/issues/2064#issuecomment-2568752779

   Hi @maobaolong 
   
   Thanks for pointing out these issues and submitting a PR to correct them. Should we close this ticket if all issues had fixed?


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

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] [Umbrella] Fix UTs to use random port instead of constant port to avoid port in used [incubator-uniffle]

Posted by "maobaolong (via GitHub)" <gi...@apache.org>.
maobaolong commented on issue #2064:
URL: https://github.com/apache/incubator-uniffle/issues/2064#issuecomment-2568796451

   In fact there are still some issue about this, but I have no bandwidth on this, you can feel free to close or left it.


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

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [I] [Umbrella] Fix UTs to use random port instead of constant port to avoid port in used [uniffle]

Posted by "summaryzb (via GitHub)" <gi...@apache.org>.
summaryzb commented on issue #2064:
URL: https://github.com/apache/uniffle/issues/2064#issuecomment-2712306051

   > what will happen when random port already used and then throw exception ?
   > 
   > So, I think can add check: if there is port already used, then use other port , what do you think ?
   
   For grpc and netty port which set to zero, it'll retry bind a free port. For http port which retried to lock a free port ahead, it'll  not encounter port conflict when actually bind


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

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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