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

Konstantin Boudnik commented on BIGTOP-1560:
--------------------------------------------

bq. Does it maybe also make sense to add an assume for the user?
I think it's a great idea: let it skip instead of fail. Please do!

The test should be working fine with the {{repl == 2}} The system will know 
perfectly well which block is corrupted and which isn't: that's why there are 
checksums for each block, etc. So, you're right. 

> Add a test case for performing block corruption recovery
> --------------------------------------------------------
>
>                 Key: BIGTOP-1560
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1560
>             Project: Bigtop
>          Issue Type: Test
>          Components: tests
>    Affects Versions: 0.8.0
>            Reporter: Dasha Boudnik
>            Assignee: Dasha Boudnik
>             Fix For: 0.9.0
>
>         Attachments: BIGTOP-1560.patch, BIGTOP-1560.patch, BIGTOP-1560.patch, 
> BIGTOP-1560.patch
>
>
> Found this issue in internal testing. Roughly:
> create file in HDFS
> find block for the file
> corrupt a block
> trigger recovery by trying to read the file
> check recovery was successful



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

Reply via email to