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

Brais Couce commented on HADOOP-16613:
--------------------------------------

You are right. It works fine with 3.3.2. Thanks!

> s3a to set fake directory marker contentType to application/x-directory
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-16613
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16613
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.2.1, 3.1.3
>            Reporter: Jose Torres
>            Assignee: Steve Loughran
>            Priority: Minor
>             Fix For: 3.3.0
>
>
> S3AFileSystem doesn't set a contentType for fake directory files, causing it 
> to be inferred as "application/octet-stream". But fake directory files 
> created through the S3 web console have content type 
> "application/x-directory". We may want to adopt the web console behavior as a 
> standard, since some systems will rely on content type and not size + 
> trailing slash to determine if an object represents a directory.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to