Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-4745

Cannot change Ratis port in existing cluster

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Ozone Datanode

    Description

      The config property dfs.container.ratis.ipc controls datanodes' Ratis port. However, changing it in an existing cluster and restarting datanodes causes failure, because Ratis stores peer addresses in its configuration and restores after restart.

      example log
      dn1_1    | 2021-01-26 08:51:32 INFO  RaftServerImpl:356 - 7aed8b8c-4c36-4c5f-8bd5-1b15590a65cb@group-2F22897F07E6: set configuration 0: [7aed8b8c-4c36-4c5f-8bd5-1b15590a65cb:10.9.0.11:34559, 50d855e4-ff25-43f5-8b8e-a49134de0f55:10.9.0.13:32773, e0122724-4141-44ba-848e-fa3b0e61a151:10.9.0.12:32883], old=null at 0
      dn1_1    | 2021-01-26 08:51:36 INFO  GrpcService:160 - 7aed8b8c-4c36-4c5f-8bd5-1b15590a65cb: GrpcService started, listening on 0.0.0.0/0.0.0.0:34917
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            adoroszlai Attila Doroszlai

            Dates

              Created:
              Updated:

              Slack

                Issue deployment