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

HAadmin transtionToActive with forceActive option can show confusing message.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha, 3.0.0-alpha1
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: