[
https://issues.apache.org/jira/browse/HADOOP-17934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Loughran resolved HADOOP-17934.
-------------------------------------
Fix Version/s: 3.3.3
Resolution: Fixed
> NullPointerException when no HTTP response set on AbfsRestOperation
> -------------------------------------------------------------------
>
> Key: HADOOP-17934
> URL: https://issues.apache.org/jira/browse/HADOOP-17934
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/azure
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.3.3
>
> Time Spent: 3h 40m
> Remaining Estimate: 0h
>
> Seen when running HBase 2.2 on top of ABFS with Hadoop 3.1ish:
> {noformat}
> Caused by: java.lang.NullPointerException
> at
> org.apache.hadoop.fs.azurebfs.services.AbfsClient.renameIdempotencyCheckOp(AbfsClient.java:382)
> at
> org.apache.hadoop.fs.azurebfs.services.AbfsClient.renamePath(AbfsClient.java:348)
> at
> org.apache.hadoop.fs.azurebfs.AzureBlobFileSystemStore.rename(AzureBlobFileSystemStore.java:722)
> at
> org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem.rename(AzureBlobFileSystem.java:327)
> at
> org.apache.hadoop.fs.FilterFileSystem.rename(FilterFileSystem.java:249)
> at
> org.apache.hadoop.hbase.regionserver.HRegionFileSystem.rename(HRegionFileSystem.java:1115)
> {noformat}
> Digging in, it looks like the {{AbfsHttpOperation}} inside of
> {{AbfsRestOperation}} may sometimes be null, but {{AbfsClient}} will try to
> unwrap it (and read the status code from the HTTP call). I'm not sure why we
> sometimes _get_ the null HttpOperation but it seems pretty straightforward to
> not get the NPE.
> HBase got wedged after this, but I'm not sure if it's because of this NPE or
> (perhaps) we weren't getting any responses from ABFS itself (i.e. there was
> some ABFS outage/unavailability or the node itself couldn't talk to ABFS).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]