--------------------------------------------
Key: HADOOP-1303
URL: https://issues.apache.org/jira/browse/HADOOP-1303
Project: Hadoop
Issue Type: Bug
Components: fs
Affects Versions: 0.12.3, 0.12.2, 0.12.1, 0.12.0
Reporter: Mike Smith
Priority: Minor
The copyToLocal method in FsShell.java class does the following casting:
((DistributedFileSystem)fs).copyToLocalFile(srcs[i], dst, copyCrc);
which in the case of S3 filesystem, this returns ClassCastException. This can be fixed by replacing the above line by:
fs.copyToLocalFile(srcs[i], dst);
Which of course does not check for the CRC.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.