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-11621) s3a doesn't consider blobs with trailing / and content-length >0 as directories
Date Mon, 03 Apr 2017 15:17:41 GMT

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

Steve Loughran commented on HADOOP-11621:
-----------------------------------------

The encryption patch of HADOOP-13887 includes a fix for this, as when you turn encryption
on, even 0 byte files can gain some entries. We are still going to delete anything with a
trailing / without caring whether or not its a file, so may want to consider adding a warning
note in the release notes there, maybe even in this one & mark it as an incompatible change.

> 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.3.15#6346)

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


Mime
View raw message