-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-16478. S3Guard bucket-info fails if the caller lacks s3:GetBucketLocation #1619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HADOOP-16478. S3Guard bucket-info fails if the caller lacks s3:GetBucketLocation #1619
Conversation
javadoc failure
|
5941c1b
to
23d82fd
Compare
Also just ran the CLI against a public bucket which blocks this operation
|
(note, that stack is at debug, the users just see the location unknown message- |
…ketLocation -Catch and downgrade to info -add to javadocs -review all other uses -test in ITestAssumeRole; needs to open up a bit more of the tool for this. Change-Id: I0e22ad8bcda23908dce91091fac1db1bf06573d7
Change-Id: Ifc0dca76e51495ed1a8fc0f077b86bf125deff40
Change-Id: I382a8816b6309a78b1def2d0a993ca7e206efd27
-review amazon Region.fromValue code and mirror it -add test for null handling (which comes from the Region code) Change-Id: Ibf4e72454ad8413b9b7ce4c57ffb6cc23886fe3f
5e8d5c9
to
b1eb28d
Compare
Reviewed myself; minor tuning. tested: s3 ireland w/ s3guard |
🎊 +1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1. LGTM
thanks! |
-Catch and downgrade to info
-add to javadocs
-review all other uses
-test in ITestAssumeRole; needs to open up a bit more of the tool for this.
Tested s3 ireland. initially tested without the downgrade, to verify the test created the failure mode.
It did:
With the handler in the bucket info tool, the test worked.