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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.4.1
    • 2.5.0
    • namenode, snapshots
    • None
    • 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 Myers

        Issue Links

          Activity

            People

              kihwal Kihwal Lee
              atm Aaron Myers
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: