Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3077 Quorum-based protocol for reading and writing edit logs
  3. HDFS-3862

QJM: don't require a fencer to be configured if shared storage has built-in single-writer semantics

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • QuorumJournalManager (HDFS-3077)
    • None
    • ha

    Description

      Currently, NN HA requires that the administrator configure a fencing method to ensure that only a single NameNode may write to the shared storage at a time. Some shared edits storage implementations (like QJM) inherently enforce single-writer semantics at the storage level, and thus the user should not be forced to specify one.

      We should extend the JournalManager interface so that the HA code can operate without a configured fencer if the JM has such built-in fencing.

      Attachments

        1. HDFS-3862.003.patch
          30 kB
          Yi Liu
        2. HDFS-3862.002.patch
          30 kB
          Yi Liu
        3. HDFS-3862.001.patch
          29 kB
          Yi Liu

        Issue Links

          Activity

            People

              hitliuyi Yi Liu
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: