diff --git a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestDelegatedMRJob.java b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestDelegatedMRJob.java index 69795b06aa..ba9746358c 100644 --- a/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestDelegatedMRJob.java +++ b/hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/auth/delegation/ITestDelegatedMRJob.java @@ -175,7 +175,7 @@ protected YarnConfiguration createConfiguration() { String host = jobResourceUri.getHost(); // and fix to the main endpoint if the caller has moved conf.set( - String.format("fs.s3a.bucket.%s.endpoint", host), "us-east-1"); + String.format("fs.s3a.bucket.%s.endpoint", host), ""); // set up DTs enableDelegationTokens(conf, tokenBinding);