Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-2069

RaftMetaConf command sets incorrect peerAddress pattern.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • shell
    • None

    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.

      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 

      Attachments

        Issue Links

          Activity

            People

              sadanand_shenoy Sadanand Shenoy
              sadanand_shenoy Sadanand Shenoy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m