[ 
https://issues.apache.org/jira/browse/RATIS-2131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mridul Muralidharan updated RATIS-2131:
---------------------------------------
    Affects Version/s: 3.1.0

> 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
>    Affects Versions: 3.1.0
>            Reporter: Mridul Muralidharan
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to