"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


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

Reply via email to