[
https://issues.apache.org/jira/browse/HADOOP-19609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18017425#comment-18017425
]
ASF GitHub Bot commented on HADOOP-19609:
-----------------------------------------
anmolanmol1234 commented on code in PR #7817:
URL: https://github.com/apache/hadoop/pull/7817#discussion_r2313767105
##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsConnectionManager.java:
##########
@@ -70,39 +69,44 @@ class AbfsConnectionManager implements
HttpClientConnectionManager {
private final HttpClientConnectionOperator connectionOperator;
/**
- * Number of connections to be created during cache refresh.
+ * AbfsConfiguration instance to get configuration values.
*/
- private final int cacheRefreshConnections;
+ private final AbfsConfiguration abfsConfiguration;
/**
- * Connection timeout for establishing a new connection.
+ * Atomic boolean to ensure only one thread can trigger cache refresh at a
time.
*/
- private final int connectionTimeout;
-
- private final AtomicBoolean isCaching = new AtomicBoolean(false);
+ private final AtomicBoolean isCacheRefreshInProgress = new AtomicBoolean(
Review Comment:
should be in a single line
> ABFS: Apache Client Connection Pool Relook
> ------------------------------------------
>
> Key: HADOOP-19609
> URL: https://issues.apache.org/jira/browse/HADOOP-19609
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/azure
> Affects Versions: 3.4.1
> 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]