You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Zhe Zhang (JIRA)" <ji...@apache.org> on 2015/04/10 19:46:14 UTC

[jira] [Resolved] (HDFS-8121) BlockManager treates good blocks in a block group as corrput

     [ https://issues.apache.org/jira/browse/HDFS-8121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhe Zhang resolved HDFS-8121.
-----------------------------
       Resolution: Duplicate
    Fix Version/s: HDFS-7285

The util class in HDFS-8120 will also be used by {{BlockManager}} to calculate the expected size of a reported block.

> BlockManager treates good blocks in a block group as corrput
> ------------------------------------------------------------
>
>                 Key: HDFS-8121
>                 URL: https://issues.apache.org/jira/browse/HDFS-8121
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Li Bo
>            Assignee: Li Bo
>             Fix For: HDFS-7285
>
>
> If a block in a block group is reported by Datanode to Namenode, Namenode will check if it's corrupt. Currently {{BlockManager}} uses the size of block group to compare with the size of reported block, which makes the block is treated as corrupt  block by Namenode. I think Namenode should first calculate the size of the block and then compare it with reported value



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)