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

    Details

    • Type: Sub-task Sub-task
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: QuorumJournalManager (HDFS-3077)
    • Fix Version/s: None
    • Component/s: ha
    • Labels:

      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.

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

        Issue Links

          Activity

            People

            • Assignee:
              Yi Liu
              Reporter:
              Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:

                Development