[ https://issues.apache.org/jira/browse/HADOOP-19609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18014397#comment-18014397 ]
ASF GitHub Bot commented on HADOOP-19609: ----------------------------------------- bhattmanish98 commented on code in PR #7817: URL: https://github.com/apache/hadoop/pull/7817#discussion_r2280767506 ########## hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/KeepAliveCache.java: ########## @@ -199,10 +102,10 @@ private void closeHttpClientConnection(final HttpClientConnection hc) { } /** - * Close all connections in cache and cancel the eviction timer. + * Close all connections in cache. */ @Override - public synchronized void close() { + public void close() { Review Comment: Not required, the below implementation will guarantee that only one thread will call closeInternal method boolean closed = isClosed.getAndSet(true); if (closed) { return; } > 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: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org