hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9119) Add test to FileSystemContractBaseTest to verify integrity of overwritten files
Date Tue, 08 Jan 2013 16:56:12 GMT

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

Suresh Srinivas commented on HADOOP-9119:
-----------------------------------------

+1 for the change.
                
> Add test to FileSystemContractBaseTest to verify integrity of overwritten files
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-9119
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9119
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>         Attachments: HADOOP-9119-2.patch, HADOOP-9119.patch
>
>
> The test {{FileSystemContractBaseTest.testOverwrite()}} is meant to verify that overwrites
work -but it only overwrites a zero byte file with some data and only checks for length. This
can hide problems where there overwrite was somehow corrupted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message