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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: fs/s3
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: