Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7059

HAadmin transtionToActive with forceActive option can show confusing message.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-alpha, 3.0.0-alpha1
    • 2.6.0
    • None
    • None
    • Reviewed

    Description

      Ran into this confusing message on our local HA setup.
      One of the namenode was down and the other was in standby mode.
      The namenode was not able to come out of safe mode so we did transitionToActive with forceActive switch enabled.
      Due to change in HDFS-2949, it will try connecting to all the namenode to see whether they are active or not.
      But since the other namenode is down it will try connect to that namenode for 'ipc.client.connect.max.retries' number of times.
      Every time it is not able to connect, it will log a message :
      INFO ipc.Client: Retrying connect to server: <server name>. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=50, sleepTime=1000 MILLISECONDS)
      Since in our configuration, the number of retries is 50, it will show this message 50 times.

      Attachments

        1. HDFS-7059.patch
          3 kB
          Rushabh Shah

        Activity

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

          People

            shahrs87 Rushabh Shah
            shahrs87 Rushabh Shah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment