HADOOP-16979. S3Guard auth mode should be set to false by default in integration tests. (#1958) Contributed by Mukund Thakur.

This commit is contained in:
Mukund Thakur 2020-04-16 16:32:30 +05:30 committed by GitHub
parent cc5c1da7c1
commit 8505840c26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -482,7 +482,7 @@ public static void maybeEnableS3Guard(Configuration conf) {
// S3Guard is enabled. // S3Guard is enabled.
boolean authoritative = getTestPropertyBool(conf, boolean authoritative = getTestPropertyBool(conf,
TEST_S3GUARD_AUTHORITATIVE, TEST_S3GUARD_AUTHORITATIVE,
conf.getBoolean(TEST_S3GUARD_AUTHORITATIVE, true)); conf.getBoolean(TEST_S3GUARD_AUTHORITATIVE, false));
String impl = getTestProperty(conf, TEST_S3GUARD_IMPLEMENTATION, String impl = getTestProperty(conf, TEST_S3GUARD_IMPLEMENTATION,
conf.get(TEST_S3GUARD_IMPLEMENTATION, conf.get(TEST_S3GUARD_IMPLEMENTATION,
TEST_S3GUARD_IMPLEMENTATION_LOCAL)); TEST_S3GUARD_IMPLEMENTATION_LOCAL));