[ 
https://issues.apache.org/jira/browse/HADOOP-19672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18023971#comment-18023971
 ] 

ASF GitHub Bot commented on HADOOP-19672:
-----------------------------------------

bhattmanish98 commented on code in PR #7967:
URL: https://github.com/apache/hadoop/pull/7967#discussion_r2393517614


##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsClient.java:
##########
@@ -254,7 +259,8 @@ private AbfsClient(final URL baseUrl,
 
       abfsApacheHttpClient = new AbfsApacheHttpClient(
           DelegatingSSLSocketFactory.getDefaultFactory(),
-          abfsConfiguration, keepAliveCache, baseUrl);
+          abfsConfiguration, keepAliveCache, baseUrl,
+          abfsConfiguration.getFsConfiguredServiceType() == abfsServiceType);

Review Comment:
   The reason for this change: Since the keep alive cache is on client level 
and we were doing cache warmup for both the client separately. Now with this 
change, we will do cache warmup only for the default client, not for both the 
clients.





> ABFS: Network Error-Based Client Switchover: Apache to JDK (continuous 
> failure))
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-19672
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19672
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.4.2
>            Reporter: Manish Bhatt
>            Assignee: Manish Bhatt
>            Priority: Major
>              Labels: pull-request-available
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to