Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.