[ https://issues.apache.org/jira/browse/RATIS-2131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz-wo Sze resolved RATIS-2131. ------------------------------- Fix Version/s: 3.2.0 Assignee: Mridul Muralidharan Resolution: Fixed The pull request is now merged. Thanks, [~mridulm80]! > 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 > Assignee: Mridul Muralidharan > Priority: Major > Fix For: 3.2.0 > > Time Spent: 40m > 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)