[ https://issues.apache.org/jira/browse/RATIS-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16670125#comment-16670125 ]
Tsz Wo Nicholas Sze commented on RATIS-382: ------------------------------------------- TimeoutIOException was caused by stateMachineFuture.get() timeout. This does not like a Ratis bug. > writeStateMachineData times out > ------------------------------- > > Key: RATIS-382 > URL: https://issues.apache.org/jira/browse/RATIS-382 > Project: Ratis > Issue Type: Bug > Affects Versions: 0.3.0 > Reporter: Nilotpal Nandi > Priority: Blocker > Attachments: all-node-ozone-logs-1540979056.tar.gz > > > datanode stopped due to following error : > datanode.log > {noformat} > 2018-10-31 09:12:04,517 INFO org.apache.ratis.server.impl.RaftServerImpl: > 9fab9937-fbcd-4196-8014-cb165045724b: set configuration 169: > [9fab9937-fbcd-4196-8014-cb165045724b:172.27.15.131:9858, > ce0084c2-97cd-4c97-9378-e5175daad18b:172.27.15.139:9858, > f0291cb4-7a48-456a-847f-9f91a12aa850:172.27.38.9:9858], old=null at 169 > 2018-10-31 09:12:22,187 ERROR org.apache.ratis.server.storage.RaftLogWorker: > Terminating with exit status 1: > 9fab9937-fbcd-4196-8014-cb165045724b-RaftLogWorker failed. > org.apache.ratis.protocol.TimeoutIOException: Timeout: WriteLog:182: (t:10, > i:182), STATEMACHINELOGENTRY, client-611073BBFA46, > cid=127-writeStateMachineData > at org.apache.ratis.util.IOUtils.getFromFuture(IOUtils.java:87) > at > org.apache.ratis.server.storage.RaftLogWorker$WriteLog.execute(RaftLogWorker.java:310) > at org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:182) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.util.concurrent.TimeoutException > at > java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1771) > at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915) > at org.apache.ratis.util.IOUtils.getFromFuture(IOUtils.java:79) > ... 3 more{noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)