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

Discrepancy between edit log tailing interval and RPC timeout for transitionToActive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.7.1
    • None
    • ha
    • None

    Description

      EditLogTailer on standby NameNode tails edits from active NameNode every 2 minutes. But the transitionToActive RPC call has a timeout of 1 minute.

      If active NameNode encounters very intensive metadata workload (in particular, a lot of AddOp and MkDir operations to create new files and directories), the amount of updates accumulated in the 2 mins edit log tailing interval is hard for the standby NameNode to catch up in the 1 min timeout window. If that happens, the FailoverController will timeout and give up trying to transition the standby to active. The old ANN will resume adding more edits. When the SbNN finally finishes catching up the edits and tries to become active, it will crash.

      Attachments

        1. HDFS-9119.00.patch
          1 kB
          Zhe Zhang

        Activity

          People

            zhz Zhe Zhang
            zhz Zhe Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: