You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2020/04/14 09:53:04 UTC

[GitHub] [hadoop] steveloughran commented on a change in pull request #1955: HADOOP-13873 log DNS addresses on s3a init

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org