[
https://issues.apache.org/jira/browse/BIGTOP-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064389#comment-14064389
]
Konstantin Boudnik commented on BIGTOP-1377:
--------------------------------------------
I think it would be pretty hard to do {{vi}} from a test - so you should use a
non-interactive ways to change the content of a block.
> Add a test case for performing block corruption recovery
> --------------------------------------------------------
>
> Key: BIGTOP-1377
> URL: https://issues.apache.org/jira/browse/BIGTOP-1377
> Project: Bigtop
> Issue Type: Test
> Components: Tests
> Reporter: Dasha Boudnik
>
> Create file with some data.
> Go to DataNode and vi the block; add some extra data to the block.
> Start doing a bunch of 'hdfs dfs -cat <file path>'s; should see checksum
> error.
> NameNode should replicate a new healthy block and delete the corrupt block.
--
This message was sent by Atlassian JIRA
(v6.2#6252)