Skip to content

Commit d8c9793

Browse files
committed
addendum - minor change to log and test
1 parent 872dcac commit d8c9793

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/DefaultS3ClientFactory.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ private <BuilderT extends S3BaseClientBuilder<BuilderT, ClientT>, ClientT> void
322322

323323
if (parameters.getEndpoint().endsWith(CENTRAL_ENDPOINT)) {
324324
builder.crossRegionAccessEnabled(true);
325+
LOG.debug("Enabling cross region access for endpoint {}", parameters.getEndpoint());
325326
}
326327

327328
LOG.debug("Setting region to {} from {}", region, origin);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void testCentralEndpointCrossRegionAccess() throws Throwable {
4949
newFs.initialize(getFileSystem().getUri(), newConf);
5050

5151
final String file = getMethodName();
52-
Path basePath = new Path("basePath" + getMethodName());
52+
Path basePath = new Path("basePath-" + getMethodName());
5353
final Path srcDir = new Path(basePath, "srcdir");
5454
newFs.mkdirs(srcDir);
5555
Path src = new Path(srcDir, file);

0 commit comments

Comments
 (0)