[
https://issues.apache.org/jira/browse/HADOOP-11621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16289112#comment-16289112
]
Steve Loughran commented on HADOOP-11621:
-----------------------------------------
revisiting this. I think we should move to trailing / is a dir, irrespective of
content.
When we do bulk delete of parent dir markers, we delete all paths up the tree
matching that pattern without looking at them, so sometimes they are treated as
dirs, sometimes not. Time to be consistent
> s3a doesn't consider blobs with trailing / and content-length >0 as
> directories
> -------------------------------------------------------------------------------
>
> Key: HADOOP-11621
> URL: https://issues.apache.org/jira/browse/HADOOP-11621
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/s3
> Affects Versions: 2.7.0
> Reporter: Denis Jannot
>
> When creating a directory using the AWS Management Console, the
> content-length is set to 0 and s3a works fine.
> When creating a directory using other tools, like S3Browse, the
> content-length is set to 1 and s3a doesn't work:
> S3AFileSystem: Found file (with /): real file? should not happen: dir1
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]