hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14506) Add create() contract test that verifies ancestor dir creation
Date Thu, 08 Jun 2017 17:55:18 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-14506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16043140#comment-16043140
] 

Steve Loughran commented on HADOOP-14506:
-----------------------------------------

Could you have the asserts include some text (ideally with the relevant status?) I know it
makes the code more verbose, but I like to think of whoever will be trying to debug a test
failure from a jenkins run and nothing else

> 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: Improvement
>          Components: fs
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Aaron Fabbri
>            Assignee: Sean Mackrory
>            Priority: Minor
>         Attachments: HADOOP-14506.001.patch
>
>
> 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. 



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


Mime
View raw message