Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15620 Über-jira: S3A phase VI: Hadoop 3.3 features
  3. HADOOP-16613

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

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2.1, 3.1.3
    • Fix Version/s: None
    • 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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joseph.torres Jose Torres
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: