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

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

saxenapranav commented on PR #6959:
URL: https://github.com/apache/hadoop/pull/6959#issuecomment-2247090911

   ------------------------------
   :::: AGGREGATED TEST RESULT ::::
   
   ============================================================
   HNS-OAuth
   ============================================================
   
   [WARNING] Tests run: 153, Failures: 0, Errors: 0, Skipped: 2
   [WARNING] Tests run: 644, Failures: 0, Errors: 0, Skipped: 82
   [WARNING] Tests run: 424, Failures: 0, Errors: 0, Skipped: 57
   
   ============================================================
   HNS-SharedKey
   ============================================================
   
   [WARNING] Tests run: 153, Failures: 0, Errors: 0, Skipped: 3
   [WARNING] Tests run: 644, Failures: 0, Errors: 0, Skipped: 34
   [WARNING] Tests run: 424, Failures: 0, Errors: 0, Skipped: 44
   
   ============================================================
   NonHNS-SharedKey
   ============================================================
   
   [WARNING] Tests run: 153, Failures: 0, Errors: 0, Skipped: 9
   [WARNING] Tests run: 628, Failures: 0, Errors: 0, Skipped: 274
   [WARNING] Tests run: 424, Failures: 0, Errors: 0, Skipped: 47
   
   ============================================================
   AppendBlob-HNS-OAuth
   ============================================================
   
   [WARNING] Tests run: 153, Failures: 0, Errors: 0, Skipped: 2
   [WARNING] Tests run: 644, Failures: 0, Errors: 0, Skipped: 84
   [WARNING] Tests run: 424, Failures: 0, Errors: 0, Skipped: 81
   
   Time taken: 28 mins 30 secs.
   azureuser@pranav-ind-vm:~/hadoop/hadoop-tools/hadoop-azure$ git log
   commit 99c6095b404d3a5e5a89ad529449eeefe1509980 (HEAD -> 
saxenapranav/abfs-apachehttpclient-3.4, 
origin/saxenapranav/abfs-apachehttpclient-3.4)
   Author: Pranav Saxena <>
   Date:   Tue Jul 23 21:42:37 2024 -0700
   
       cherrypick of b60497ff41e1dc149d1610f4cc6ea4e0609f9946 : 
https://github.com/apache/hadoop/commit/b60497ff41e1dc149d1610f4cc6ea4e0609f9946
 :  ApacheHttpClient adaptation in ABFS.
       https://github.com/apache/hadoop/pull/6633




> [ABFS]: ApacheHttpClient adaptation as network library
> ------------------------------------------------------
>
>                 Key: HADOOP-19120
>                 URL: https://issues.apache.org/jira/browse/HADOOP-19120
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.5.0
>            Reporter: Pranav Saxena
>            Assignee: Pranav Saxena
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.5.0
>
>
> Apache HttpClient is more feature-rich and flexible and gives application 
> more granular control over networking parameter.
> ABFS currently relies on the JDK-net library. This library is managed by 
> OpenJDK and has no performance problem. However, it limits the application's 
> control over networking, and there are very few APIs and hooks exposed that 
> the application can use to get metrics, choose which and when a connection 
> should be reused. ApacheHttpClient will give important hooks to fetch 
> important metrics and control networking parameters.
> A custom implementation of connection-pool is used. The implementation is 
> adapted from the JDK8 connection pooling. Reasons for doing it:
> 1. PoolingHttpClientConnectionManager heuristic caches all the reusable 
> connections it has created. JDK's implementation only caches limited number 
> of connections. The limit is given by JVM system property 
> "http.maxConnections". If there is no system-property, it defaults to 5. 
> Connection-establishment latency increased with all the connections were 
> cached. Hence, adapting the pooling heuristic of JDK netlib,
> 2. In PoolingHttpClientConnectionManager, it expects the application to 
> provide `setMaxPerRoute` and `setMaxTotal`, which the implementation uses as 
> the total number of connections it can create. For application using ABFS, it 
> is not feasible to provide a value in the initialisation of the 
> connectionManager. JDK's implementation has no cap on the number of 
> connections it can have opened on a moment. Hence, adapting the pooling 
> heuristic of JDK netlib,



--
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