Skip to content

Commit 99840aa

Browse files
authored
HADOOP-17025. Fix invalid metastore configuration in S3GuardTool tests. (#1994)
1 parent 3501012 commit 99840aa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/s3guard/AbstractS3GuardToolTestBase.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
import org.apache.hadoop.util.ExitUtil;
5555
import org.apache.hadoop.util.StringUtils;
5656

57-
import static org.apache.hadoop.fs.s3a.Constants.METADATASTORE_AUTHORITATIVE;
5857
import static org.apache.hadoop.fs.s3a.Constants.S3GUARD_DDB_REGION_KEY;
5958
import static org.apache.hadoop.fs.s3a.Constants.S3GUARD_DDB_TABLE_CREATE_KEY;
6059
import static org.apache.hadoop.fs.s3a.Constants.S3GUARD_DDB_TABLE_NAME_KEY;
@@ -188,7 +187,7 @@ public void setup() throws Exception {
188187
conf.set(S3_METADATA_STORE_IMPL, S3GUARD_METASTORE_NULL);
189188
URI fsUri = fs.getUri();
190189
S3AUtils.setBucketOption(conf,fsUri.getHost(),
191-
METADATASTORE_AUTHORITATIVE,
190+
S3_METADATA_STORE_IMPL,
192191
S3GUARD_METASTORE_NULL);
193192
rawFs = (S3AFileSystem) FileSystem.newInstance(fsUri, conf);
194193
}

0 commit comments

Comments
 (0)