[ 
https://issues.apache.org/jira/browse/HDDS-1756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16885250#comment-16885250
 ] 

Nanda kumar commented on HDDS-1756:
-----------------------------------

NPE is thrown when the datanode is processing the delete container command for 
a container which is not present (already deleted).
We will make delete container an idempotent operation in datanode. 

> DeleteContainerCommandHandler fails with NPE
> --------------------------------------------
>
>                 Key: HDDS-1756
>                 URL: https://issues.apache.org/jira/browse/HDDS-1756
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Datanode
>    Affects Versions: 0.4.0
>            Reporter: Mukul Kumar Singh
>            Assignee: Nanda kumar
>            Priority: Major
>              Labels: MiniOzoneChaosCluster
>
> DeleteContainerCommandHandler fails with NPE
> {code}
> Thread[Command processor 
> thread,5,org.apache.hadoop.ozone.TestMiniChaosOzoneCluster]
> java.lang.NullPointerException
>         at 
> org.apache.hadoop.ozone.container.ozoneimpl.ContainerController.getHandler(ContainerController.java:138)
>         at 
> org.apache.hadoop.ozone.container.ozoneimpl.ContainerController.deleteContainer(ContainerController.java:128)
>         at 
> org.apache.hadoop.ozone.container.common.statemachine.commandhandler.DeleteContainerCommandHandler.handle(DeleteContainerCommandHandler.java:57)
>         at 
> org.apache.hadoop.ozone.container.common.statemachine.commandhandler.CommandDispatcher.handle(CommandDispatcher.java:93)
>         at 
> org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.lambda$initCommandHandlerThread$1(DatanodeStateMachine.java:432)
>         at java.lang.Thread.run(Thread.java:748)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to