Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> Problem reading snap file in zookeeper (version: 3.4.5-1392090)


Copy link to this message
-
Problem reading snap file in zookeeper (version: 3.4.5-1392090)
Hi,

I am encountering *problem reading snap file
/mnt/zoouat4/data/zookeeper/data/version-2/snapshot.2c00002b00*

The zookeeper logs are as below:-

Starting zookeeper ... STARTED
18,889 [myid:] - INFO  [main:QuorumPeerConfig@101] - Reading configuration
from: /mnt/zoouat4/conf/zookeeper/zoo.cfg
2014-07-04 01:25:18,895 [myid:] - INFO  [main:QuorumPeerConfig@334] -
Defaulting to majority quorums
2014-07-04 01:25:18,899 [myid:2] - INFO  [main:DatadirCleanupManager@78] -
autopurge.snapRetainCount set to 3
2014-07-04 01:25:18,899 [myid:2] - INFO  [main:DatadirCleanupManager@79] -
autopurge.purgeInterval set to 0
2014-07-04 01:25:18,899 [myid:2] - INFO  [main:DatadirCleanupManager@101] -
Purge task is not scheduled.
2014-07-04 01:25:18,911 [myid:2] - INFO  [main:QuorumPeerMain@127] -
Starting quorum peer
2014-07-04 01:25:18,932 [myid:2] - INFO  [main:NIOServerCnxnFactory@94] -
binding to port 0.0.0.0/0.0.0.0:2181
2014-07-04 01:25:18,946 [myid:2] - INFO  [main:QuorumPeer@913] - tickTime
set to 20000
2014-07-04 01:25:18,947 [myid:2] - INFO  [main:QuorumPeer@933] -
minSessionTimeout set to -1
2014-07-04 01:25:18,947 [myid:2] - INFO  [main:QuorumPeer@944] -
maxSessionTimeout set to -1
2014-07-04 01:25:18,947 [myid:2] - INFO  [main:QuorumPeer@959] - initLimit
set to 10
*2014-07-04 01:25:18,959 [myid:2] - INFO  [main:FileSnap@83] - Reading
snapshot /mnt/zoouat4/data/zookeeper/data/version-2/snapshot.2c00002b00*
*2014-07-04 01:25:19,094 [myid:2] - WARN  [main:FileSnap@96] - problem
reading snap file
/mnt/zoouat4/data/zookeeper/data/version-2/snapshot.2c00002b00*
*java.io.IOException: CRC corruption in snapshot :
 /mnt/zoouat4/data/zookeeper/data/version-2/snapshot.2c00002b00*
 at
org.apache.zookeeper.server.persistence.FileSnap.deserialize(FileSnap.java:91)
at
org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:130)
 at org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:223)
at
org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:417)
 at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:409)
at
org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:151)
 at
org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:111)
at
org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
2014-07-04 01:25:19,095 [myid:2] - INFO  [main:FileSnap@83] - Reading
snapshot /mnt/zoouat4/data/zookeeper/data/version-2/snapshot.2b00000176
2014-07-04 01:25:19,176 [myid:2] - WARN  [main:FileSnap@96] - problem
reading snap file
/mnt/zoouat4/data/zookeeper/data/version-2/snapshot.2b00000176
java.io.IOException: CRC corruption in snapshot :
 /mnt/zoouat4/data/zookeeper/data/version-2/snapshot.2b00000176
at
org.apache.zookeeper.server.persistence.FileSnap.deserialize(FileSnap.java:91)
 at
org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:130)
at org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:223)
 at
org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:417)
at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:409)
 at
org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:151)
at
org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:111)
 at
org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
2014-07-04 01:25:19,176 [myid:2] - INFO  [main:FileSnap@83] - Reading
snapshot /mnt/zoouat4/data/zookeeper/data/version-2/snapshot.2b0000013d
2014-07-04 01:25:19,224 [myid:2] - WARN  [main:FileSnap@96] - problem
reading snap file
/mnt/zoouat4/data/zookeeper/data/version-2/snapshot.2b0000013d
java.io.IOException: CRC corruption in snapshot :
 /mnt/zoouat4/data/zookeeper/data/version-2/snapshot.2b0000013d
 at
org.apache.zookeeper.server.persistence.FileSnap.deserialize(FileSnap.java:91)
at
org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:130)
 at org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:223)
at
org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:417)
 at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:409)
at
org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:151)
 at
org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:111)
at
org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
2014-07-04 01:25:19,225 [myid:2] - ERROR [main:QuorumPeer@453] - Unable to
load database on disk
java.io.IOException: Not able to find valid snapshots in
/mnt/zoouat4/data/zookeeper/data/version-2
 at
org.apache.zookeeper.server.persistence.FileSnap.deserialize(FileSnap.java:105)
at
org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:130)
 at org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:223)
at
org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:417)
 at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:409)
at
org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:151)
 at
org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:111)
at
org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)
2014-07-04 01:25:19,225 [myid:2] - ERROR [main:QuorumPeerMain@89] -
Unexpected exception, exiting abnormally
java.lang.RuntimeException: Unable to run quorum server
at
org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:454)
 at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:409)
at
org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:151)
 at
org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:111)
at
org.apache.zookeeper.server.quorum.QuorumPeerMain.main