Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.7.2
-
None
Description
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.
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-13221 s3a create() doesn't check for an ancestor path being a file
-
- Resolved
-