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

Zhe Zhang commented on HDFS-8202:
---------------------------------

Thanks for updating the patch Xinwei.

bq. but we can not do this for testReadWithDNFailure, since each test case of 
it needs a new cluster with no dead Datanode.
I simply meant something like:
{code}
for (int fileLength : fileLengths) {
  for (int dnFailureNum : dnFailureNums) {
    testReadWithDNFailure(...);
{code}

> Improve end to end stirpping file test to add erasure recovering test
> ---------------------------------------------------------------------
>
>                 Key: HDFS-8202
>                 URL: https://issues.apache.org/jira/browse/HDFS-8202
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Kai Zheng
>            Assignee: Xinwei Qin 
>         Attachments: HDFS-8202-HDFS-7285.003.patch, 
> HDFS-8202-HDFS-7285.004.patch, HDFS-8202.001.patch, HDFS-8202.002.patch
>
>
> This to follow on HDFS-8201 to add erasure recovering test in the end to end 
> stripping file test:
> * After writing certain blocks to the test file, delete some block file;
> * Read the file content and compare, see if any recovering issue, or verify 
> the erasure recovering works or not.



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

Reply via email to