You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Tony Wu (JIRA)" <ji...@apache.org> on 2015/10/23 18:30:27 UTC
[jira] [Updated] (HDFS-9297) Update TestBlockMissingException to
use corruptBlockOnDataNodesByDeletingBlockFile()
[ https://issues.apache.org/jira/browse/HDFS-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tony Wu updated HDFS-9297:
--------------------------
Attachment: HDFS-9297.001.patch
In this patch:
* Use {{corruptBlockOnDataNodesByDeletingBlockFile()}} to corrupt a block by removing all block files.
* Removed the test's own implementation of the same function.
> Update TestBlockMissingException to use corruptBlockOnDataNodesByDeletingBlockFile()
> ------------------------------------------------------------------------------------
>
> Key: HDFS-9297
> URL: https://issues.apache.org/jira/browse/HDFS-9297
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: HDFS, test
> Affects Versions: 2.7.1
> Reporter: Tony Wu
> Assignee: Tony Wu
> Priority: Trivial
> Attachments: HDFS-9297.001.patch
>
>
> TestBlockMissingException uses its own function to corrupt a block by deleting all its block files. HDFS-7235 introduced a helper function {{corruptBlockOnDataNodesByDeletingBlockFile()}} that does exactly the same thing. We can update this test to use the helper function.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)