Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15619 Über-JIRA: S3Guard Phase IV: Hadoop 3.3 features
  3. HADOOP-16464

S3Guard in auth mode doesn't raise AccessDeniedException on read of 0-byte file

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 3.3.0
    • None
    • fs/s3
    • None

    Description

      This falls out of auth mode knowing the length of a file and skipping any S3 checks: it is not an error to read a 0-byte file, regardless of the readability of the file.

      • there's no check in open()
      • and read() just returns -1.

      I don't see if that is fixable, or if it merits. Maybe just include in the release notes

      Attachments

        Activity

          People

            Unassigned Unassigned
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: