bgaborg commented on a change in pull request #1003: HADOOP-16384: Avoid
inconsistencies between DDB and S3
URL: https://github.com/apache/hadoop/pull/1003#discussion_r302110128
##########
File path:
hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/ITestDynamoDBMetadataStoreScale.java
##########
@@ -172,6 +174,23 @@ public void setup() throws Exception {
@Override
public void teardown() throws Exception {
+ if (ddbms != null) {
+ S3GuardTableAccess tableAccess = new S3GuardTableAccess(ddbms);
+ ExpressionSpecBuilder builder = new ExpressionSpecBuilder();
+ builder.withKeyCondition(
Review comment:
use withCondition here instead of key, so you don't have to filter for the
VersionMarker
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]