anmolanmol1234 commented on code in PR #5399: URL: https://github.com/apache/hadoop/pull/5399#discussion_r1108011727
########## hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsHttpOperation.java: ########## @@ -276,14 +280,15 @@ public AbfsHttpOperation(final URL url, final String method, final List<AbfsHttp } } - this.connection.setConnectTimeout(CONNECT_TIMEOUT); - this.connection.setReadTimeout(READ_TIMEOUT); + this.connection.setConnectTimeout(timeoutOptimizer.getConnTimeout(CONNECT_TIMEOUT)); + this.connection.setReadTimeout(timeoutOptimizer.getReadTimeout(READ_TIMEOUT)); this.connection.setRequestMethod(method); for (AbfsHttpHeader header : requestHeaders) { this.connection.setRequestProperty(header.getName(), header.getValue()); } + Review Comment: Can we remove the extra lines, makes it difficult to backport -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org