[
https://issues.apache.org/jira/browse/HADOOP-19271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17882000#comment-17882000
]
ASF GitHub Bot commented on HADOOP-19271:
-----------------------------------------
steveloughran commented on code in PR #7040:
URL: https://github.com/apache/hadoop/pull/7040#discussion_r1760975878
##########
hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/services/ITestApacheClientConnectionPool.java:
##########
@@ -18,6 +18,9 @@
package org.apache.hadoop.fs.azurebfs.services;
+import java.io.IOException;
+
+import com.sun.tools.javac.util.Pair;
Review Comment:
use `org.apache.hadoop.util.functional.Tuples` to create which will create
an implementation of `Map.Entry<K, V>`; lets us move to the java 9 equivalent
transparently
> [ABFS]: NPE in AbfsManagedApacheHttpConnection.toString() when not connected
> ----------------------------------------------------------------------------
>
> Key: HADOOP-19271
> URL: https://issues.apache.org/jira/browse/HADOOP-19271
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/azure
> Affects Versions: 3.4.1
> Reporter: Steve Loughran
> Assignee: Pranav Saxena
> Priority: Blocker
> Labels: pull-request-available
>
> if {{AbfsManagedApacheHttpConnection.toString()}} is invoked and
> httpClientConnection is null, you get a stack trace.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]