From b56c08b2b7ae5e1095064eb0436291ac7010f9a5 Mon Sep 17 00:00:00 2001 From: Mingliang Liu Date: Wed, 11 Dec 2019 11:52:53 -0800 Subject: [PATCH] HADOOP-16758. Refine testing.md to tell user better how to use auth-keys.xml (#1753) Contributed by Mingliang Liu --- .../src/site/markdown/tools/hadoop-aws/testing.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/testing.md b/hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/testing.md index dfdd980136..6eea3bfba1 100644 --- a/hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/testing.md +++ b/hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/testing.md @@ -151,8 +151,9 @@ Example: For S3a encryption tests to run correctly, the `fs.s3a.server-side-encryption.key` must be configured in the s3a contract xml -file with a AWS KMS encryption key arn as this value is different for each AWS -KMS. +file or `auth-keys.xml` file with a AWS KMS encryption key arn as this value is +different for each AWS KMS. Please note this KMS key should be created in the +same region as your S3 bucket. Otherwise, you may get `KMS.NotFoundException`. Example: @@ -1078,7 +1079,7 @@ mvn -T 1C verify -Dtest=skip -Dit.test=ITestS3AMiscOperations -Ds3guard -Ddynamo ### Notes 1. If the `s3guard` profile is not set, then the S3Guard properties are those -of the test configuration set in `contract-test-options.xml` or `auth-keys.xml` +of the test configuration set in s3a contract xml file or `auth-keys.xml` If the `s3guard` profile *is* set: 1. The S3Guard options from maven (the dynamo and authoritative flags)