-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-16653. S3Guard DDB overreacts to no tag access #1660
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-16653. S3Guard DDB overreacts to no tag access #1660
Conversation
Change-Id: I4990e61dcf1baa7ddb593ac9a2195e9338060539
b1299cc
to
dae0183
Compare
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
LOG.info("Table {} contains no version marker item and tag. " + | ||
"The table is empty, so the version marker will be added " + | ||
"as TAG and ITEM.", tableName); | ||
putVersionMarkerItemToTable(); |
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.
you've swapped the order. Does this matter?
@@ -756,4 +756,25 @@ public void testBucketLocationForbidden() throws Throwable { | |||
Assertions.assertThat(info) | |||
.contains(S3GuardTool.BucketInfo.LOCATION_UNKNOWN); | |||
} | |||
/** | |||
* Turn off access to dynamo DB Tags and see how DDB table init copes. |
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.
maybe add: There's no testing of the codepath other than checking the logs -this test does make sure that no regression stops the tag permission failures from halting the client
Tested against? |
LGTM, other than the detail of you haven't stated your test endpoint. |
There are some failing itests:
tested against ireland. |
Change-Id: I0cfe7b33ff9529442e66b64e6e4db653aa8d8131
🎊 +1 overall
This message was automatically generated. |
is there anything needed to do to get this in? |
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.
LGTM
+1
…Contributed by Gabor Bota.
…Contributed by Gabor Bota. (cherry picked from commit d5e9971) Change-Id: I40212336785b5a7c1f8a194cb197558c58b0e1be
…Contributed by Gabor Bota.
Change-Id: I4990e61dcf1baa7ddb593ac9a2195e9338060539