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

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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 3.2.1, 3.1.3
    • 3.3.0
    • fs/s3
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: