You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2010/03/05 22:35:27 UTC
[jira] Updated: (ZOOKEEPER-663) hudson failure in
ZKDatabaseCorruptionTest
[ https://issues.apache.org/jira/browse/ZOOKEEPER-663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mahadev konar updated ZOOKEEPER-663:
------------------------------------
Attachment: ZOOKEEPER-663.patch
this patch fixes the logging to mention which file is corrupted and then adds forrest docs on handling such kind of failures.
> hudson failure in ZKDatabaseCorruptionTest
> ------------------------------------------
>
> Key: ZOOKEEPER-663
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-663
> Project: Zookeeper
> Issue Type: Bug
> Components: server
> Reporter: Patrick Hunt
> Assignee: Mahadev konar
> Priority: Critical
> Fix For: 3.3.0
>
> Attachments: ZOOKEEPER-663.patch
>
>
> http://hudson.zones.apache.org/hudson/job/ZooKeeper-trunk/686/
> java.lang.RuntimeException: Unable to run quorum server
> at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:380)
> at org.apache.zookeeper.test.ZkDatabaseCorruptionTest.testCorruption(ZkDatabaseCorruptionTest.java:99)
> Caused by: java.io.IOException: Invalid magic number 0 != 1514884167
> at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.inStreamCreated(FileTxnLog.java:455)
> at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.createInputArchive(FileTxnLog.java:471)
> at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.goToNextLog(FileTxnLog.java:438)
> at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.next(FileTxnLog.java:519)
> at org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:145)
> at org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:193)
> at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:377)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.