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

Automatically format new unformatted JournalNodes using JournalNodeSyncer

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

Details

    • Improvement
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 3.4.0, 3.3.5
    • None
    • journal-node
    • None

    Description

      If an unformatted JournalNode is added to an existing JournalNode set, instances of the JournalNodeSyncer are unable to sync to the new node.  When a sync receives a JournalNotFormattedException, we can initiate a format operation, and then retry the synchronization.

      Conceptually this means that the JournalNodes and their data can be managed independently from the rest of the system, as the JournalNodes will incorporate new JournalNode instances.  Once the new JournalNode is formatted, it can participate in shared edits from the NameNodes. 

      I've been testing an update to the InterQJournalProtocol to add a format call like that used by the NameNode.  Current tests include starting an HA cluster from scratch, but with 2 JournalNode instances.  Once the cluster is up, I can add the 3rd JournalNode (which is unformatted), and the other 2 JournalNodes will eventually attempt to sync which results in a formatting and subsequent sync.

      Attachments

        Issue Links

        Activity

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

          People

            svaughan Steve Vaughan
            svaughan Steve Vaughan

            Dates

              Created:
              Updated:

              Slack

                Issue deployment