Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-17566 Über-jira: S3A Hadoop 3.4 features
  3. HADOOP-16613

s3a to set fake directory marker contentType to application/x-directory

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.2.1, 3.1.3
    • Fix Version/s: 3.3.0
    • Component/s: fs/s3
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stevel@apache.org Steve Loughran
                Reporter:
                joseph.torres Jose Torres
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: