You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2019/07/26 13:59:00 UTC
[jira] [Created] (HADOOP-16464) S3Guard in auth mode doesn't raise
AccessDeniedException on read of 0-byte file
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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org