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-13222) s3a.mkdirs() to delete empty fake parent directories
Date Wed, 14 Sep 2016 13:43:22 GMT

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

Steve Loughran commented on HADOOP-13222:

if you create the object /aa/bb/ with the aws SDK, that's taken as a directory. create one
/aa/bb then that's viewed as a file: listings will stop at that point, and if you try to create
/aa/bb/cc then you'll get an error, because you can't have a file or directory under a file.
If the hadoop fs shell let you do that: it's a bug in the shell

> s3a.mkdirs() to delete empty fake parent directories
> ----------------------------------------------------
>                 Key: HADOOP-13222
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13222
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 2.7.2
>            Reporter: Steve Loughran
>            Priority: Minor
> {{S3AFileSystem.mkdirs()}} has a TODO comment: what do do about fake parent directories.
> The answer is: as with files, they should be deleted. This can be done asynchronously

This message was sent by Atlassian JIRA

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

View raw message