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

Hairong Kuang commented on HDFS-551:
------------------------------------

For the messWithBlocksLen() test, If a datanode reports a replica with the 
different length from the Complete block size in NN, NN should mark this 
replica as corrupt. NN should not update the block's length.

Please also remove all the commented statements in the patch.

> Create new functional test for a block report.
> ----------------------------------------------
>
>                 Key: HDFS-551
>                 URL: https://issues.apache.org/jira/browse/HDFS-551
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: test
>            Reporter: Konstantin Boudnik
>            Assignee: Konstantin Boudnik
>         Attachments: BlockReportTestPlan.html, BlockReportTestPlan.html, 
> HDFS-551.patch, HDFS-551.patch, HDFS-551.patch, HDFS-551.patch, 
> HDFS-551.patch, HDFS-551.patch
>
>
> It turned out that there's no test for block report functionality. The one 
> would be extremely valuable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to