You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Vinay (JIRA)" <ji...@apache.org> on 2013/11/15 08:01:23 UTC

[jira] [Updated] (ZOOKEEPER-1813) Zookeeper restart fails due to missing node from snapshot

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

Vinay updated ZOOKEEPER-1813:
-----------------------------

    Attachment: ZOOKEEPER-1813-test.patch

Attaching a test, executed using debug points. Reproduced in both trunk and 3.4.5 versions.

> 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)