Sadanand Shenoy created RATIS-2069:
--------------------------------------
Summary: RaftMetaConf command sets incorrect peerAddress pattern.
Key: RATIS-2069
URL: https://issues.apache.org/jira/browse/RATIS-2069
Project: Ratis
Issue Type: Bug
Reporter: Sadanand Shenoy
RATIS-2040 made some changes in the command to add an option to provide peerID.
While doing so , it updated the address string to be of pattern
hostname/ip:port which was previously hostname:port.
This causes connectionRefused messages in the application as the wrong address
string is used.
{code:java}
2024-05-02 22:21:37,611 DEBUG [main]-org.apache.hadoop.ipc.Client: Connecting
to ccycloud-1.scmtest.root.comops.site/10.140.190.131:9863
2024-05-02 22:21:37,611 DEBUG [main]-org.apache.hadoop.ipc.Client: Setup
connection to ccycloud-1.scmtest.root.comops.site/10.140.190.131:9863
2024-05-02 22:21:37,624 DEBUG [main]-org.apache.hadoop.ipc.Client: Failed to
connect to server: sample-1.scmtest.root.test.site/10.140.190.131:9863:
failovers (0) exceeded maximum allowed (0)
java.net.ConnectException: Connection refused {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)