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-12667) s3a: Support createNonRecursive API
Date Tue, 22 Dec 2015 20:05:46 GMT

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

Steve Loughran commented on HADOOP-12667:
-----------------------------------------

hadoop already has some atomicity problems with create-no-overwrite, given the write doesn't
even happen until the close() call. But...createNonRecursive is potentially useful, as it
will fail-fast if the parent doesn't exist.

Looking at the patch, I can see we need the filesystem spec updated with coverage of the reinstated
method, ideally with a recommended IOE subclass {{FileNotFoundException}} if the parent isn't
there...then we can add this test here to the contract tests and roll it out across all the
filesystems.

Sean: fancy taking that on?


> s3a: Support createNonRecursive API
> -----------------------------------
>
>                 Key: HADOOP-12667
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12667
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs/s3
>            Reporter: Sean Mackrory
>            Assignee: Sean Mackrory
>         Attachments: HADOOP-12667.001.patch
>
>
> HBase and other clients rely on the createNonRecursive API, which was recently un-deprecated.
S3A currently does not support it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message