HADOOP-16481. ITestS3GuardDDBRootOperations.test_300_MetastorePrune needs to set region. (#1209). Contributed by Steve Loughran.

This commit is contained in:
Steve Loughran 2019-08-09 16:33:08 +01:00 committed by Gabor Bota
parent e25a5c2eab
commit 189dc10884
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ public class ITestS3GuardDDBRootOperations extends AbstractS3ATestBase {
int result = S3GuardTool.run(conf,
S3GuardTool.Prune.NAME,
"-meta", checkNotNull(metastoreUriStr),
"-region", fs.getBucketLocation(),
"-seconds", "1");
Assertions.assertThat(result)
.describedAs("Result of prune %s", fsUriStr)