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 "Mike Smith (JIRA)" <ji...@apache.org> on 2007/04/28 02:19:15 UTC

[jira] Created: (HADOOP-1303) copyToLocal cast exception for S3 filesystem

copyToLocal cast exception for S3 filesystem
--------------------------------------------

                 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.