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

Jing Zhao commented on HDFS-8652:
---------------------------------

Looks like the test 
TestFileTruncate#testTruncateWithDataNodesRestartImmediately has a higher 
chance to fail with the patch. I will do some more debugging.

> Track BlockInfo instead of Block in CorruptReplicasMap
> ------------------------------------------------------
>
>                 Key: HDFS-8652
>                 URL: https://issues.apache.org/jira/browse/HDFS-8652
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: HDFS-8652.000.patch, HDFS-8652.001.patch
>
>
> Currently {{CorruptReplicasMap}} uses {{Block}} as its key and records the 
> list of DataNodes with corrupted replicas. For Erasure Coding since a striped 
> block group contains multiple internal blocks with different block ID, we 
> should use {{BlockInfo}} as the key.
> HDFS-8619 is the jira to fix this for EC. To ease merging we will use jira to 
> first make changes in trunk/branch-2.



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

Reply via email to