[
https://issues.apache.org/jira/browse/HADOOP-9119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Suresh Srinivas updated HADOOP-9119:
------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.3-alpha
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Committed the patch to branch-2 and trunk. Thank you Steve.
> 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: Test
> Components: fs, test
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Minor
> Fix For: 2.0.3-alpha
>
> 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