You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Shashikant Banerjee (Jira)" <ji...@apache.org> on 2020/03/03 04:55:00 UTC

[jira] [Resolved] (HDDS-3115) NPE seen in datanode log as ApplyTransaction failed

     [ https://issues.apache.org/jira/browse/HDDS-3115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shashikant Banerjee resolved HDDS-3115.
---------------------------------------
    Fix Version/s: 0.6.0
       Resolution: Fixed

Thanks [~swagle] for working on this. I have committed this.

> NPE seen in datanode log as ApplyTransaction failed
> ---------------------------------------------------
>
>                 Key: HDDS-3115
>                 URL: https://issues.apache.org/jira/browse/HDDS-3115
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Datanode
>            Reporter: Nilotpal Nandi
>            Assignee: Siddharth Wagle
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.6.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Errors seen in datanode log. 
>  
> {noformat}
> 1:04:32.860 PM ERROR ContainerStateMachine
> gid group-00234F8B3578 : ApplyTransaction failed. cmd PutBlock logIndex 56 msg : ContainerID 16 does not exist Container Result: CONTAINER_NOT_FOUND
> 1:04:32.860 PM ERROR XceiverServerRatis
> pipeline Action CLOSE on pipeline PipelineID=b9601efc-f8bf-4b72-8077-00234f8b3578.Reason : Ratis Transaction failure in datanode 2ba0ecb0-0739-4da9-9541-5fef23479f28 with role FOLLOWER .Triggering pipeline close action.
> 1:04:32.860 PM ERROR ContainerStateMachine
> gid group-00234F8B3578 : ApplyTransaction failed. cmd WriteChunk logIndex 59 exception {}
> java.lang.NullPointerException
>  at org.apache.hadoop.ozone.container.common.impl.HddsDispatcher.dispatchRequest(HddsDispatcher.java:226)
>  at org.apache.hadoop.ozone.container.common.impl.HddsDispatcher.dispatch(HddsDispatcher.java:162)
>  at org.apache.hadoop.ozone.container.common.transport.server.ratis.ContainerStateMachine.dispatchCommand(ContainerStateMachine.java:396)
>  at org.apache.hadoop.ozone.container.common.transport.server.ratis.ContainerStateMachine.runCommand(ContainerStateMachine.java:406)
>  at org.apache.hadoop.ozone.container.common.transport.server.ratis.ContainerStateMachine.lambda$applyTransaction$6(ContainerStateMachine.java:745)
>  at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
>  at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>  at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>  at java.base/java.lang.Thread.run(Thread.java:834){noformat}
>  
> {noformat}
> 1:04:32.861 PM ERROR ContainerStateMachine
> gid group-00234F8B3578 : ApplyTransaction failed. cmd PutBlock logIndex 60 msg : ContainerID 16 does not exist Container Result: CONTAINER_NOT_FOUND
> 1:04:32.861 PM ERROR XceiverServerRatis
> pipeline Action CLOSE on pipeline PipelineID=b9601efc-f8bf-4b72-8077-00234f8b3578.Reason : Ratis Transaction failure in datanode 2ba0ecb0-0739-4da9-9541-5fef23479f28 with role FOLLOWER .Triggering pipeline close action.
> 1:04:32.904 PM ERROR StateContext
> Critical error occurred in StateMachine, setting shutDownMachine
> 1:04:34.862 PM ERROR DatanodeStateMachine
> DatanodeStateMachine Shutdown due to an critical error{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org