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

Virginia Wang commented on BIGTOP-1377:
---------------------------------------

It can be done with echo "something something" > /path/to/file or cat file2 >> 
file1 as well. 

> 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)

Reply via email to