[
https://issues.apache.org/jira/browse/HADOOP-16201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16796947#comment-16796947
]
Gabor Bota commented on HADOOP-16201:
-------------------------------------
That's because there's no such thing as directory in S3. However we have to
handle directories in metadata stores.
For reference:
https://docs.aws.amazon.com/AmazonS3/latest/user-guide/using-folders.html
> S3AFileSystem#innerMkdirs does not create parent directories
> ------------------------------------------------------------
>
> Key: HADOOP-16201
> URL: https://issues.apache.org/jira/browse/HADOOP-16201
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Lokesh Jain
> Assignee: Lokesh Jain
> Priority: Major
>
> S3AFileSystem#innerMkdirs currently does not create parent directories. The
> code checks for the existence of the parent directories and if they do not
> exist, it adds them to metadataStoreDirs list. But this list is not used and
> therefore the parent directories are never created. Only the given directory
> path is created.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]