akpatnam25 opened a new pull request, #2564:
URL: https://github.com/apache/celeborn/pull/2564
<!--
Thanks for sending a pull request! Here are some tips for you:
- Make sure the PR title start w/ a JIRA ticket, e.g. '[CELEBORN-XXXX]
Your PR title ...'.
- Be sure to keep the PR description updated to reflect all changes.
- Please write your PR title to summarize what this PR proposes.
- If possible, provide a concise example to reproduce the issue for a
faster review.
-->
### What changes were proposed in this pull request?
Fix ipv6 hostname resolution to have `[]` around the ipv6 address.
### Why are the changes needed?
Previously was getting error:
```
java.lang.AssertionError: assertion failed: Expected hostname or IPv6 IP
enclosed in [] but got <ipv6 address>
at scala.Predef$.assert(Predef.scala:223)
at org.apache.celeborn.common.util.Utils$.checkHost(Utils.scala:429)
at
org.apache.celeborn.service.deploy.worker.Worker.<init>(Worker.scala:136)
at
org.apache.celeborn.service.deploy.worker.Worker$.main(Worker.scala:953)
at org.apache.celeborn.service.deploy.worker.Worker.main(Worker.scala)
```
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
started the worker and the service starts up now and binds to ipv6 address
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]