hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Fabbri (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-14506) Add create() contract test that verifies ancestor dir creation
Date Wed, 07 Jun 2017 23:45:19 GMT
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

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

View raw message