You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Aaron Fabbri (JIRA)" <ji...@apache.org> on 2017/06/07 23:45:18 UTC

[jira] [Created] (HADOOP-14506) Add create() contract test that verifies ancestor dir creation

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-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org