hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-126) "hadoop dfs -cp" does not copy crc files
Date Sat, 08 Apr 2006 02:50:33 GMT
     [ http://issues.apache.org/jira/browse/HADOOP-126?page=all ]

Konstantin Shvachko updated HADOOP-126:
---------------------------------------

    Attachment: copy.patch

This fixes the problem.

> "hadoop dfs -cp" does not copy crc files
> ----------------------------------------
>
>          Key: HADOOP-126
>          URL: http://issues.apache.org/jira/browse/HADOOP-126
>      Project: Hadoop
>         Type: Bug

>   Components: dfs
>     Reporter: Konstantin Shvachko
>  Attachments: copy.patch
>
> DFSShell.copy() uses FileUtil.copyContents() which works with "Raw" files, and does not
copy crc files.
> Try
> hadoop dfs -cp a b
> Then either
> hadoop dfs -cat b
> hadoop dfs -copyToLocal b c
> The last two complain about crc files
> In fact DFSShell.copy() should use the same FileSystem methods as copyToLocal and copyFromLocal
do.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message