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

[SBN read] Prevent ZKFC changing Observer Namenode state

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

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0
    • None
    • None
    • 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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment