Mridul Muralidharan created RATIS-2131:
------------------------------------------
Summary: Configuring Ratis fails when hostname is used, and is an
IPv6 host
Key: RATIS-2131
URL: https://issues.apache.org/jira/browse/RATIS-2131
Project: Ratis
Issue Type: Bug
Components: common
Reporter: Mridul Muralidharan
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:
{code}
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
{code}
and Celeborn is not able to successfully initialize.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)