hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mukul Kumar Singh (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDDS-635) On Datanode restart, DatanodeStateMachine throws NullPointerException
Date Fri, 12 Oct 2018 03:04:00 GMT

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

Mukul Kumar Singh resolved HDDS-635.
------------------------------------
    Resolution: Duplicate

> On Datanode restart, DatanodeStateMachine throws NullPointerException
> ---------------------------------------------------------------------
>
>                 Key: HDDS-635
>                 URL: https://issues.apache.org/jira/browse/HDDS-635
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>            Reporter: Hanisha Koneru
>            Assignee: Hanisha Koneru
>            Priority: Major
>
> {code:java}
> 2018-10-11 12:08:33,676 ERROR org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine:
Unable to start the DatanodeState Machine
> java.io.IOException: Premature EOF from inputStream
> at org.apache.ratis.util.IOUtils.readFully(IOUtils.java:100)
> at org.apache.ratis.server.storage.LogReader.decodeEntry(LogReader.java:250)
> at org.apache.ratis.server.storage.LogReader.readEntry(LogReader.java:155)
> at org.apache.ratis.server.storage.LogInputStream.nextEntry(LogInputStream.java:128)
> at org.apache.ratis.server.storage.LogSegment.readSegmentFile(LogSegment.java:110)
> at org.apache.ratis.server.storage.LogSegment.loadSegment(LogSegment.java:132)
> at org.apache.ratis.server.storage.RaftLogCache.loadSegment(RaftLogCache.java:110)
> at org.apache.ratis.server.storage.SegmentedRaftLog.loadLogSegments(SegmentedRaftLog.java:155)
> at org.apache.ratis.server.storage.SegmentedRaftLog.open(SegmentedRaftLog.java:123)
> at org.apache.ratis.server.impl.ServerState.initLog(ServerState.java:162)
> at org.apache.ratis.server.impl.ServerState.<init>(ServerState.java:110)
> at org.apache.ratis.server.impl.RaftServerImpl.<init>(RaftServerImpl.java:106)
> at org.apache.ratis.server.impl.RaftServerProxy.lambda$newRaftServerImpl$0(RaftServerProxy.java:191)
> at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590)
> at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582)
> at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
> at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
> at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
> at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
> 2018-10-11 12:08:33,677 ERROR org.apache.hadoop.ozone.HddsDatanodeService: Exception
in HddsDatanodeService.
> java.lang.NullPointerException
> at org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.join(DatanodeStateMachine.java:332)
> at org.apache.hadoop.ozone.HddsDatanodeService.join(HddsDatanodeService.java:191)
> at org.apache.hadoop.ozone.HddsDatanodeService.main(HddsDatanodeService.java:250)
> 2018-10-11 12:08:33,678 INFO org.apache.hadoop.util.ExitUtil: Exiting with status 1:
java.lang.NullPointerException{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