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

If the NameNode has already been formatted, but a QuroumJournal has not, auto-format it on startup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 2.0.3-alpha
    • None
    • journal-node, namenode
    • None

    Description

      If we have multiple edit log directories, and some of them are formatted, but others are not, we format the unformatted ones. However, when we implemented QuorumJournalManager, we did not extend this behavior to it. It makes sense to do this.

      One use case is if you want to add a QuorumJournalManager URI (journal://) to an existing NameNode, without reformatting everything. There is currently no easy way to do this, since namenode -format will nuke everything, and there's no other way to format the JournalNodes.

      Attachments

        1. HDFS-4173.001.patch
          5 kB
          Colin McCabe

        Activity

          People

            cmccabe Colin McCabe
            cmccabe Colin McCabe
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: