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

EC: Block gets marked as CORRUPT in case of failover and pipeline recovery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.3.1, 3.4.0, 3.2.3
    • erasure-coding
    • None

    Description

      Steps to Repro :
      1. Start writing a EC file.
      2. After more than one stripe has been written, stop one datanode.
      3. Post pipeline recovery, keep on writing the data.
      4.Close the file.
      5. transition the namenode to standby and back to active.
      6. Turn on the shutdown datanode in step 2

      The BR from datanode 2 will make the block corrupt and during invalidate block won't remove it, since post failover the blocks would be on stale storage.

      Attachments

        1. HDFS-15170-01.patch
          5 kB
          Ayush Saxena
        2. HDFS-15170-02.patch
          5 kB
          Ayush Saxena
        3. HDFS-15170-03.patch
          6 kB
          Ayush Saxena
        4. HDFS-15170-04.patch
          6 kB
          Wei-Chiu Chuang

        Activity

          People

            ayushtkn Ayush Saxena
            ayushtkn Ayush Saxena
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: