[
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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]