Description
If the address is IPv6, NetUtils.address2String always surrounds it with '[]'.
This is require when the input is an IP - but causes failures if it is a hostname (for a IPv6 host).
In Apache Celeborn, this results in error messages like:
24/07/24 23:10:46,068 INFO [x1@group-47BEDE733167-LeaderElection1] LeaderElection: x1@group-47BEDE733167-LeaderElection1 got exception when requesting votes: java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Failed to create URI from target [my_host]:9872
and Celeborn is not able to successfully initialize.
Attachments
Issue Links
- links to