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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to