You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (Updated) (JIRA)" <ji...@apache.org> on 2012/02/01 20:23:00 UTC

[jira] [Updated] (HADOOP-8001) ChecksumFileSystem's rename doesn't correctly handle checksum files

     [ https://issues.apache.org/jira/browse/HADOOP-8001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daryn Sharp updated HADOOP-8001:
--------------------------------

    Attachment: HADOOP-8001-2.patch

Clarified variable names.  Also fixed case of moving file with no checksum into a directory that has an existing file with a checksum.
                
> 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-2.patch, 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