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

Namenode should mark the replica as corrupted if a DN has reported different length of a Complete block

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • namenode
    • None

    Description

      it has been found that NameNode is updating the length of a Complete block when its reported by a DataNode. As demonstrated by BlockReport.messWithBlocksLen() test (see HDFS-551's patch), when the length of blocks is changed and a block report is forced for the set of the blocks NameNode updates these lengths in memory, instead of marking such replicas as corrupted.

      It seems to be a wrong behavior.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cos Konstantin I Boudnik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: