Steve Loughran created HADOOP-16464: ---------------------------------------
Summary: S3Guard in auth mode doesn't raise AccessDeniedException on read of 0-byte file Key: HADOOP-16464 URL: https://issues.apache.org/jira/browse/HADOOP-16464 Project: Hadoop Common Issue Type: Sub-task Components: fs/s3 Affects Versions: 3.3.0 Reporter: Steve Loughran 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 -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org