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

QJM: Fix getEditLogManifest to fetch httpPort if necessary

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      This is necessary for QJM to work with HA. When the NNs start up, they start in standby state and try to read from the JournalNodes. So they call getEditLogManifest(). But they don't call getJournalInfo so the httpPort field doesn't get filled in. This means that when they try to actually fetch the remote edits, they fail since they don't know the JN's HTTP port.

        Attachments

        1. hdfs-3694.txt
          14 kB
          Todd Lipcon

          Activity

            People

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: