hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Smith (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-1303) copyToLocal cast exception for S3 filesystem
Date Sat, 28 Apr 2007 00:19:15 GMT
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.

View raw message