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

Edit log corruption when pipeline recovery occurs for deleted file present in snapshot

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.5.0
    • Component/s: namenode, snapshots
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      I've encountered a situation wherein an OP_UPDATE_BLOCKS can appear in the edit log for a file after an OP_DELETE has previously been logged for that file. Such an edit log sequence cannot then be successfully read by the NameNode.

      More details in the first comment.

        Attachments

        1. HDFS-6647.v3.patch
          7 kB
          Kihwal Lee
        2. HDFS-6647.v2.patch
          7 kB
          Kihwal Lee
        3. HDFS-6647.patch
          7 kB
          Kihwal Lee
        4. HDFS-6647-failing-test.patch
          4 kB
          Aaron T. Myers

          Issue Links

            Activity

              People

              • Assignee:
                kihwal Kihwal Lee
                Reporter:
                atm Aaron T. Myers
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: