[ https://issues.apache.org/jira/browse/ZOOKEEPER-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13823364#comment-13823364 ]
Thawan Kooburat commented on ZOOKEEPER-1813: -------------------------------------------- I believe this is similar issue as ZOOKEEPER-1573. In that case, I found that it is a false positive. If the check is disable, the result after snapshot restore is still a valid state of the system. I don't quite follow your example but it seem to be similar that we can ignore the failure right? Anyway the work around is to actually remove snapshot and txnlog for a given server. > Zookeeper restart fails due to missing node from snapshot > --------------------------------------------------------- > > Key: ZOOKEEPER-1813 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1813 > Project: ZooKeeper > Issue Type: Bug > Affects Versions: 3.4.5, 3.5.0 > Reporter: Vinay > Priority: Blocker > Attachments: ZOOKEEPER-1813-test.patch > > > Due to following exception Zookeeper restart is failing > {noformat}java.io.IOException: Failed to process transaction type: 1 error: > KeeperErrorCode = NoNode for /test/subdir2/subdir2/subdir > at > org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:183) > at > org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:222) > at > org.apache.zookeeper.server.ZooKeeperServer.loadData(ZooKeeperServer.java:255) > at > org.apache.zookeeper.server.ZooKeeperServer.startdata(ZooKeeperServer.java:380) > at > org.apache.zookeeper.server.NIOServerCnxnFactory.startup(NIOServerCnxnFactory.java:748) > at > org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:111) > at > org.apache.zookeeper.server.ZooKeeperServerMain.initializeAndRun(ZooKeeperServerMain.java:90) > at > org.apache.zookeeper.server.ZooKeeperServerMainTest$2.run(ZooKeeperServerMainTest.java:218) > Caused by: org.apache.zookeeper.KeeperException$NoNodeException: > KeeperErrorCode = NoNode for /test/subdir2/subdir2/subdir > at > org.apache.zookeeper.server.persistence.FileTxnSnapLog.processTransaction(FileTxnSnapLog.java:268) > at > org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:181) > ... 7 more{noformat} -- This message was sent by Atlassian JIRA (v6.1#6144)