Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0-alpha4
-
None
Description
The semantics of FileSystem#create() appear to include implicit creation of any parent or ancestor directories in the Path being created, unlike Posix filesystems, which expect the parent directory to already exist.
S3AFileSystem does implicitly create ancestor directories. It does not currently enforce that any ancestors are directories (HADOOP-13221).
Deliverable for this JIRA is just a test case added to AbstractContractCreateTest which verifies that missing ancestors are created by create().
Pulling this test dev work out into separate jira from HADOOP-14457.
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-13221 s3a create() doesn't check for an ancestor path being a file
- Resolved