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

NameNode incorretly handles corrupt replicas

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • 0.21.0, 0.22.0
    • 0.22.0
    • namenode
    • None

    Description

      I reviewed how NameNode handles corrupt replicas as part of work on HDFS-145. Comparing to releases prior to 0.21, NameNode now does a good job identifying corrupt replicas, but it seems to me there are two flaws how it handles the corrupt replicas:
      1. NameNode does not add corrupt replicas to the block locations as what NameNode does before;
      2. If the corruption is caused by generation stamp mismatch or state mismatch, the wrong GS and state do not get put in corruptReplicasMap. Therefore it may lead to the deletion of the wrong replica.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hairong Hairong Kuang
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: