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

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • namenode
    • None
    • 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. blocksNotDeletedTest.patch
          2 kB
          Byron Wong
        3. HDFS-7611.000.patch
          8 kB
          Jing Zhao
        4. HDFS-7611.001.patch
          8 kB
          Jing Zhao
        5. HDFS-7611.002.patch
          9 kB
          Jing Zhao

        Issue Links

          Activity

            People

              jingzhao Jing Zhao
              shv Konstantin Shvachko
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: