[
https://issues.apache.org/jira/browse/RATIS-2069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sadanand Shenoy updated RATIS-2069:
-----------------------------------
Description:
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 sample-1.scmtest.root.test.site/10.140.190.131:9863
2024-05-02 22:21:37,611 DEBUG [main]-org.apache.hadoop.ipc.Client: Setup
connection to sample-1.scmtest.root.test.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}
was:
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}
> 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
> Assignee: Sadanand Shenoy
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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 sample-1.scmtest.root.test.site/10.140.190.131:9863
> 2024-05-02 22:21:37,611 DEBUG [main]-org.apache.hadoop.ipc.Client: Setup
> connection to sample-1.scmtest.root.test.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)