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

Steve Loughran commented on HADOOP-16613:
-----------------------------------------

Makes sense.
pull requests welcome; test policy is 
https://hadoop.apache.org/docs/current/hadoop-aws/tools/hadoop-aws/testing.html

> contentType for fake directory files
> ------------------------------------
>
>                 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
>            Priority: Minor
>
> 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.3.4#803005)

---------------------------------------------------------------------
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