[
https://issues.apache.org/jira/browse/HADOOP-19271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17881161#comment-17881161
]
ASF GitHub Bot commented on HADOOP-19271:
-----------------------------------------
saxenapranav opened a new pull request, #7040:
URL: https://github.com/apache/hadoop/pull/7040
When AbfsManagedApacheHttpConnection is not connected, the toString() fails
with NPE, as it doesn't have `httpClientConnection.getRemoteAddress()` set.
This PR fixes this and removes dependency on connection being made. When the
connection instance is constructed the required target host is shared. This
field would be used in the logs.
> [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
>
> 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]