[
https://issues.apache.org/jira/browse/HDDS-6201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai resolved HDDS-6201.
------------------------------------
Fix Version/s: 1.3.0
Resolution: Fixed
> Fix NPE for DataScanner with scanned container deleted by others.
> -----------------------------------------------------------------
>
> Key: HDDS-6201
> URL: https://issues.apache.org/jira/browse/HDDS-6201
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Mark Gui
> Assignee: Mark Gui
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.3.0
>
>
> ContainerDataScanner reports NPE while there are container deletion
> undergoing on the datanode(The ReplicationManager is sending container delete
> cmds to this datanode):
> {code:java}
> 2022-01-18 14:16:39,871 [ContainerDataScanner(/data3/hdds)] ERROR
> org.apache.hadoop.ozone.container.ozoneimpl.ContainerDataScanner:
> ContainerDataScanner(/data3/hdds, DS-4467c523-2f1e-41e1-9888-066522b59bce)
> exiting because of exception
> java.lang.NullPointerException
> at
> org.apache.hadoop.ozone.container.ozoneimpl.ContainerController.updateDataScanTimestamp(ContainerController.java:209)
> at
> org.apache.hadoop.ozone.container.ozoneimpl.ContainerDataScanner.runIteration(ContainerDataScanner.java:112)
> at
> org.apache.hadoop.ozone.container.ozoneimpl.ContainerDataScanner.run(ContainerDataScanner.java:81)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]