[ 
https://issues.apache.org/jira/browse/HDFS-9289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14970213#comment-14970213
 ] 

Elliott Clark commented on HDFS-9289:
-------------------------------------

{code}
15/10/22 09:37:36 INFO BlockStateChange: BLOCK 
NameSystem.addToCorruptReplicasMap: blk_1190230043 added as corrupt on 
10.210.31.38:50010 by hbase4678.test.com/10.210.31.38 because reported RBW 
replica with genstamp 116735085 does not match COMPLETE block's genstamp in 
block map 116737586
{code}

Block lengths on "corrupt" replicas is the same as on the non-corrupt. The only 
difference is the genstamp.

> check genStamp when complete file
> ---------------------------------
>
>                 Key: HDFS-9289
>                 URL: https://issues.apache.org/jira/browse/HDFS-9289
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Chang Li
>            Assignee: Chang Li
>            Priority: Critical
>         Attachments: HDFS-9289.1.patch
>
>
> we have seen a case of corrupt block which is caused by file complete after a 
> pipelineUpdate, but the file complete with the old block genStamp. This 
> caused the replicas of two datanodes in updated pipeline to be viewed as 
> corrupte. Propose to check genstamp when commit block



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

Reply via email to