Aaron Fabbri created HADOOP-14506:
-------------------------------------

             Summary: Add create() contract test that verifies ancestor dir 
creation
                 Key: HADOOP-14506
                 URL: https://issues.apache.org/jira/browse/HADOOP-14506
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs
    Affects Versions: HADOOP-13345
            Reporter: Aaron Fabbri
            Priority: Minor


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.  Targeting 
S3Guard branch for now, but we could move this.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
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