You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jose Torres (Jira)" <ji...@apache.org> on 2019/09/27 16:57:00 UTC

[jira] [Updated] (HADOOP-16613) contentType for fake directory files

     [ https://issues.apache.org/jira/browse/HADOOP-16613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jose Torres updated HADOOP-16613:
---------------------------------
    Description: 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.  (was: 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.)

> contentType for fake directory files
> ------------------------------------
>
>                 Key: HADOOP-16613
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16613
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: hadoop-aws
>            Reporter: Jose Torres
>            Priority: Major
>
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org