This is an automated email from the ASF dual-hosted git repository.

mthakur pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 6bcc2541235 HADOOP-19279. ABFS: Disabling Apache Http Client as 
Default Http Client for ABFS Driver(#7055)
6bcc2541235 is described below

commit 6bcc2541235486d30be5b5438327673039d07951
Author: manika137 <80244229+manika...@users.noreply.github.com>
AuthorDate: Sat Sep 21 03:08:56 2024 +0530

    HADOOP-19279. ABFS: Disabling Apache Http Client as Default Http Client for 
ABFS Driver(#7055)
    
    As part of work done under HADOOP-19120 [ABFS]: ApacheHttpClient adaptation 
as network library - ASF JIRA
    Apache HTTP Client was introduced as an alternative Network Library that 
can be used with ABFS Driver. Earlier JDK Http Client was the only supported 
network library.
    
    Apache HTTP Client was found to be more helpful in terms of controls and 
knobs it provides to manage the Network aspects of the driver better. Hence, 
the default Network Client was made to be used with the ABFS Driver.
    
    Recently while running scale workloads, we observed a regression where some 
unexpected wait time was observed while establishing connections. A possible 
fix has been identified and we are working on getting it fixed.
    There was also a possible NPE scenario was identified on the new network 
client code.
    
    Until we are done with the code fixes and revalidated the whole Apache 
client flow, we would like to make JDK Client as default client again. The 
support will still be there, but it will be disabled behind a config.
    
    Contributed by: manika137
---
 .../apache/hadoop/fs/azurebfs/constants/FileSystemConfigurations.java | 2 +-
 hadoop-tools/hadoop-azure/src/site/markdown/abfs.md                   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/constants/FileSystemConfigurations.java
 
b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/constants/FileSystemConfigurations.java
index f8c97b031b4..aeb31969666 100644
--- 
a/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/constants/FileSystemConfigurations.java
+++ 
b/hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/constants/FileSystemConfigurations.java
@@ -169,7 +169,7 @@ public final class FileSystemConfigurations {
   public static final long THOUSAND = 1000L;
 
   public static final HttpOperationType DEFAULT_NETWORKING_LIBRARY
-      = HttpOperationType.APACHE_HTTP_CLIENT;
+      = HttpOperationType.JDK_HTTP_URL_CONNECTION;
 
   public static final int DEFAULT_APACHE_HTTP_CLIENT_MAX_IO_EXCEPTION_RETRIES 
= 3;
 
diff --git a/hadoop-tools/hadoop-azure/src/site/markdown/abfs.md 
b/hadoop-tools/hadoop-azure/src/site/markdown/abfs.md
index 7b4663b5a61..fdf366f95d3 100644
--- a/hadoop-tools/hadoop-azure/src/site/markdown/abfs.md
+++ b/hadoop-tools/hadoop-azure/src/site/markdown/abfs.md
@@ -878,8 +878,8 @@ ABFS Driver can use the following networking libraries:
 The networking library can be configured using the configuration 
`fs.azure.networking.library`
 while initializing the filesystem.
 Following are the supported values:
-- `APACHE_HTTP_CLIENT` : Use Apache HttpClient [Default]
-- `JDK_HTTP_URL_CONNECTION` : Use JDK networking library
+- `JDK_HTTP_URL_CONNECTION` : Use JDK networking library [Default]
+- `APACHE_HTTP_CLIENT` : Use Apache HttpClient
 
 #### <a href="ahc_networking_conf"></a>ApacheHttpClient networking layer 
configuration Options:
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to