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

deleteSnapshot and delete of a file can leave orphaned blocks in the blocksMap on NameNode restart.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.7.0
    • Component/s: namenode
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      If quotas are enabled a combination of operations deleteSnapshot and delete of a file can leave orphaned blocks in the blocksMap on NameNode restart. They are counted as missing on the NameNode, and can prevent NameNode from coming out of safeMode and could cause memory leak during startup.

        Attachments

        1. testTruncateEditLogLoad.log
          329 kB
          Konstantin Shvachko
        2. HDFS-7611.002.patch
          9 kB
          Jing Zhao
        3. HDFS-7611.001.patch
          8 kB
          Jing Zhao
        4. HDFS-7611.000.patch
          8 kB
          Jing Zhao
        5. blocksNotDeletedTest.patch
          2 kB
          Byron Wong

          Issue Links

            Activity

              People

              • Assignee:
                jingzhao Jing Zhao
                Reporter:
                shv Konstantin Shvachko
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: