hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod K V (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6906) FileContext copy() utility doesn't work with recursive copying of directories.
Date Mon, 09 Aug 2010 11:17:17 GMT

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

Vinod K V updated HADOOP-6906:

    Attachment: HADOOP-6906-20100809.1.txt

Attaching a patch to address this issue. Please review this patch. It does the following:
 - Fixes the main bug which incorrectly constructs path names of contents of a directory while
copying (FileContext.java +2012 with the patch)
 - Modifies {{FileContext.isSameFS()}} to avoid null errors when using file:/// URIs which
don't have an authority part.
 - LocalFs extends ChecksumFs and *has* a RawLocalFs object. RawLocalFs is backed by RawLocalFileSystem
which doesn't know about .crc files. Because of this, files written via LocalFs automatically
write .crc files transparently, but listing of files in a LocalFs doesn't hide .crc files.
The modified test fails because of this. I changed ChecksumFs to override listStatus() and
swallow .crc files. Please correct me if I am wrong.

> FileContext copy() utility doesn't work with recursive copying of directories.
> ------------------------------------------------------------------------------
>                 Key: HADOOP-6906
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6906
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.22.0
>            Reporter: Vinod K V
>            Assignee: Vinod K V
>         Attachments: HADOOP-6906-20100809.1.txt, HADOOP-6906-regression.1.txt

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message