Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-4212

NameNode can't differentiate between a never-created block and a block which is really missing

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 1.2.0, 3.0.0
    • Fix Version/s: None
    • Component/s: namenode
    • Labels:
      None

      Description

      In one test case, NameNode allocated a block and then was killed before the client got the addBlock response.

      After NameNode restarted, the block which was never created was considered as a missing block and FSCK would report the file is corrupted.

      The problem seems to be that, NameNode can't differentiate between a never-created block and a block which is really missing.

        Issue Links

          Activity

            People

            • Assignee:
              Brandon Li
              Reporter:
              Brandon Li
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development