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

Kihwal Lee commented on HADOOP-8001:
------------------------------------

+1 The patch looks good. 
The create() method already overwrites the existing checksum file, so doing 
this in rename()  should be okay.
                
> 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

        

Reply via email to