steveloughran commented on a change in pull request #1955: HADOOP-13873 log DNS
addresses on s3a init
URL: https://github.com/apache/hadoop/pull/1955#discussion_r408009579
##########
File path:
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AFileSystem.java
##########
@@ -478,6 +480,10 @@ private void doBucketProbing() throws IOException {
.getInt(S3A_BUCKET_PROBE, S3A_BUCKET_PROBE_DEFAULT);
Preconditions.checkArgument(bucketProbe >= 0,
"Value of " + S3A_BUCKET_PROBE + " should be >= 0");
+ String endPoint = getConf().getTrimmed(ENDPOINT, "");
Review comment:
lets skip this if mode == 0 as that way DNS lookups don't cause init delays.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]