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 "Sean Mackrory (JIRA)" <ji...@apache.org> on 2015/12/22 17:06:46 UTC

[jira] [Updated] (HADOOP-12667) s3a: Support createNonRecursive API

     [ https://issues.apache.org/jira/browse/HADOOP-12667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Mackrory updated HADOOP-12667:
-----------------------------------
    Attachment: HADOOP-12667.001.patch

Attaching a patch with tests I've run against multiple endpoints. s3a's create() is already not recursive because it just converts the path into a key, and I suspect this API is only used directly when you WANT it to fail if the parent directory doesn't exist (as opposed to using it because you don't think recursion is necessary) so I explicitly fail if the parent of the supplied path does not exist.

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