[
https://issues.apache.org/jira/browse/HADOOP-8001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198021#comment-13198021
]
Robert Joseph Evans commented on HADOOP-8001:
---------------------------------------------
The patch looks good to me too. It is a bit confusing to have dst refer to the
destination in some cases, and the checkfile in others.
> ChecksumFileSystem's rename doesn't correctly handle checksum files
> -------------------------------------------------------------------
>
> Key: HADOOP-8001
> URL: https://issues.apache.org/jira/browse/HADOOP-8001
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs
> Affects Versions: 0.23.0, 0.24.0
> Reporter: Daryn Sharp
> Assignee: Daryn Sharp
> Attachments: HADOOP-8001.patch
>
>
> Rename will move the src file and its crc *if present* to the destination.
> If the src file has no crc, but the destination already exists with a crc,
> then src will be associated with the old file's crc. Subsequent access to
> the file will fail with checksum errors.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira