You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2016/05/13 13:10:13 UTC

[jira] [Created] (HADOOP-13143) harden S3AFileSystem.copyFromLocalFile()

Steve Loughran created HADOOP-13143:
---------------------------------------

             Summary: harden S3AFileSystem.copyFromLocalFile()
                 Key: HADOOP-13143
                 URL: https://issues.apache.org/jira/browse/HADOOP-13143
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/s3
    Affects Versions: 2.8.0
            Reporter: Steve Loughran
            Priority: Minor


{{S3AFileSystem.copyFromLocalFile()}} is lacking some basic checks of arguments (source file exists, do parent directories of dest exist, ...).

The original {{FileSystem.copyFromLocalFile()}} codepaths need review to see how they handle such situations, and the {{S3AFileSystem}} implementation made consistent. This is best done with an update to the FS Specification and a contract test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org