You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Raymie Stata (JIRA)" <ji...@apache.org> on 2016/05/20 17:47:13 UTC

[jira] [Created] (HDFS-10442) S3A file-create should throw error rather than overwrite directories

Raymie Stata created HDFS-10442:
-----------------------------------

             Summary: S3A file-create should throw error rather than overwrite directories
                 Key: HDFS-10442
                 URL: https://issues.apache.org/jira/browse/HDFS-10442
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Raymie Stata


S3A.create(Path,FsPermission,boolean,int,short,long,Progressable) is not checking to see if it's being asked to overwrite a directory.  It could easily do so, and should throw an error in this case.

There is a test-case for this in AbstractFSContractTestBase, but it's being skipped because S3A is a blobstore.  However, both the Azure and Swift file systems make this test, and the new S3 one should as well.



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

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