You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2006/04/10 21:16:33 UTC

[jira] Resolved: (HADOOP-126) "hadoop dfs -cp" does not copy crc files

     [ http://issues.apache.org/jira/browse/HADOOP-126?page=all ]
     
Doug Cutting resolved HADOOP-126:
---------------------------------

    Fix Version: 0.2
     Resolution: Fixed
      Assign To: Konstantin Shvachko

I just committed this patch.  Thanks, Konstantin!

> "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
>     Assignee: Konstantin Shvachko
>      Fix For: 0.2
>  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