[
https://issues.apache.org/jira/browse/HDFS-8483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14585419#comment-14585419
]
Takanobu Asanuma commented on HDFS-8483:
----------------------------------------
I did simple tests by cli based MiniDFSCluster. I created an EC file and
directly edited an ec-block to create a bad block.
Then I have confirmed that the DataNode reporting the bad block and the
recovery/invalidation work was scheduled.
At last the bad block was reconstructed and I was able to read the EC file.
(Sorry I don't write the unit test yet.)
> Erasure coding: test DataNode reporting bad/corrupted blocks which belongs to
> a striped block.
> ----------------------------------------------------------------------------------------------
>
> Key: HDFS-8483
> URL: https://issues.apache.org/jira/browse/HDFS-8483
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: namenode
> Reporter: Takanobu Asanuma
> Assignee: Takanobu Asanuma
> Fix For: HDFS-7285
>
>
> We can mimic one/several DataNode(s) reporting bad block(s) (which belong to
> a striped block) to the NameNode (through the
> DatanodeProtocol#reportBadBlocks call), and check if the
> recovery/invalidation work can be correctly scheduled.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)