hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nanda kumar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDDS-158) DatanodeStateMachine endPoint task throws NullPointerException
Date Sat, 09 Jun 2018 13:13:00 GMT

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

Nanda kumar updated HDDS-158:
-----------------------------
    Attachment: repro-test-case.patch

> DatanodeStateMachine endPoint task throws NullPointerException
> --------------------------------------------------------------
>
>                 Key: HDDS-158
>                 URL: https://issues.apache.org/jira/browse/HDDS-158
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Ozone Datanode
>    Affects Versions: 0.2.1
>            Reporter: Mukul Kumar Singh
>            Assignee: Nanda kumar
>            Priority: Major
>             Fix For: 0.2.1
>
>         Attachments: repro-test-case.patch
>
>
> While running Ozone, I was able to see the following exception on the datanodes.
> {code}
> 2018-06-09 00:15:09,541 [Datanode State Machine Thread - 0] ERROR      - Error in executing
end point task.
> java.util.concurrent.ExecutionException: java.lang.NullPointerException
>         at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>         at java.util.concurrent.FutureTask.get(FutureTask.java:192)
>         at org.apache.hadoop.ozone.container.common.states.datanode.RunningDatanodeState.computeNextContainerState(RunningDatanodeState.java:137)
>         at org.apache.hadoop.ozone.container.common.states.datanode.RunningDatanodeState.await(RunningDatanodeState.java:174)
>         at org.apache.hadoop.ozone.container.common.states.datanode.RunningDatanodeState.await(RunningDatanodeState.java:46)
>         at org.apache.hadoop.ozone.container.common.statemachine.StateContext.execute(StateContext.java:233)
>         at org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.start(DatanodeStateMachine.java:147)
>         at org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.lambda$startDaemon$0(DatanodeStateMachine.java:294)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NullPointerException
>         at com.google.protobuf.GeneratedMessage$FieldAccessorTable.getField(GeneratedMessage.java:1535)
>         at com.google.protobuf.GeneratedMessage$FieldAccessorTable.access$100(GeneratedMessage.java:1449)
>         at com.google.protobuf.GeneratedMessage$Builder.setField(GeneratedMessage.java:366)
>         at org.apache.hadoop.ozone.container.common.states.endpoint.HeartbeatEndpointTask.addReports(HeartbeatEndpointTask.java:128)
>         at org.apache.hadoop.ozone.container.common.states.endpoint.HeartbeatEndpointTask.call(HeartbeatEndpointTask.java:106)
>         at org.apache.hadoop.ozone.container.common.states.endpoint.HeartbeatEndpointTask.call(HeartbeatEndpointTask.java:51)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         ... 1 more
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message