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

[SBN read] Prevent ZKFC changing Observer Namenode state

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      HDFS-14130 made ZKFC aware of the Observer Namenode and hence allows ZKFC running along with the observer NOde.
      The Observer namenode isn't suppose to be part of ZKFC election process.
      But if the Namenode was part of election, before turning into Observer by transitionToObserver Command. The ZKFC still sends instruction to the Namenode as a result of previous participation and sometimes tend to change the state of Observer to Standby.

      This is also the reason for failure in TestDFSZKFailoverController.

      TestDFSZKFailoverController has been consistently failing with a time out waiting in testManualFailoverWithDFSHAAdmin(). In particular waitForHAState(1, HAServiceState.OBSERVER);.

        Attachments

        1. HDFS-14961-01.patch
          4 kB
          Ayush Saxena
        2. HDFS-14961-02.patch
          4 kB
          Ayush Saxena
        3. ZKFC-TEST-14961.patch
          2 kB
          Hui Fei
        4. HDFS-14961-03.patch
          5 kB
          Ayush Saxena
        5. HDFS-14961-04.patch
          5 kB
          Ayush Saxena

          Issue Links

            Activity

              People

              • Assignee:
                ayushtkn Ayush Saxena
                Reporter:
                elgoiri Íñigo Goiri
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: