celeborn/common
Aravind Patnam cff2a7daa0
[CELEBORN-1461] Fix Celeborn ipv6 local hostname resolution
### 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

Closes #2564 from akpatnam25/CELEBORN-1461.

Authored-by: Aravind Patnam <apatnam@linkedin.com>
Signed-off-by: mingji <fengmingxiao.fmx@alibaba-inc.com>
2024-06-17 20:13:45 +08:00
..
benchmarks [CELEBORN-744] Add Benchmark framework and ComputeIfAbsentBenchmark 2023-06-29 20:19:30 +08:00
src [CELEBORN-1461] Fix Celeborn ipv6 local hostname resolution 2024-06-17 20:13:45 +08:00
pom.xml [CELEBORN-1443] Remove ratis dependencies from common module 2024-06-03 10:15:51 +08:00