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

Standby NN can not trigger log roll after EditLogTailer thread failed 3 times in EditLogTailer.triggerActiveLogRoll method.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.0.0-alpha1
    • auto-failover

    Description

      When all NameNodes become standby, EditLogTailer will retry 3 times to trigger log roll, then it will be failed and throw Exception "Cannot find any valid remote NN to service request!". After one namenode become active, standby NN still can not trigger log roll again because variable "nnLoopCount" is still 3, it can not init to 0.

      Attachments

        1. HDFS-10536.patch
          1 kB
          XingFeng Shen
        2. HDFS-10536-02.patch
          4 kB
          XingFeng Shen
        3. HDFS-10536.02.patch
          4 kB
          XingFeng Shen

        Issue Links

          Activity

            People

              xingfengshen XingFeng Shen
              xingfengshen XingFeng Shen
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: