1 comment

Hey,

The cause is here:

2016-11-11T10:06:40,634 [[APP-WRAPPER] Proxy 1] ERROR o.a.c.utils.JVMStabilityInspector - Exiting due to error while processing commit log during initialization.
org.apache.cassandra.db.commitlog.CommitLogReplayer$CommitLogReplayException: Encountered bad header at position 16173643 of commit log /Users/forastero/www/upsource-3.5.3550/data/cassandra/commitlog/CommitLog-6-1478755013740.log, with bad position but valid CRC
at org.apache.cassandra.db.commitlog.CommitLogReplayer.handleReplayError(CommitLogReplayer.java:611) [apache-cassandra-3.5.jar:3.5]
at org.apache.cassandra.db.commitlog.SegmentReader$SegmentIterator.computeNext(SegmentReader.java:105) [apache-cassandra-3.5.jar:3.5]
at org.apache.cassandra.db.commitlog.SegmentReader$SegmentIterator.computeNext(SegmentReader.java:78) [apache-cassandra-3.5.jar:3.5]
at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) [guava-18.0.jar:na]
at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) [guava-18.0.jar:na]
at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:399) [apache-cassandra-3.5.jar:3.5]
at org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:236) [apache-cassandra-3.5.jar:3.5]
at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:192) [apache-cassandra-3.5.jar:3.5]
at org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:172) [apache-cassandra-3.5.jar:3.5]
at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:283) [apache-cassandra-3.5.jar:3.5]
at org.apache.cassandra.service.CassandraDaemon.init(CassandraDaemon.java:447) [apache-cassandra-3.5.jar:3.5]
at com.jetbrains.cassandra.service.CassandraServiceMain.start(CassandraServiceMain.java:87) [cassandra-service.jar:na]
at com.jetbrains.launcher.AppProxy$6$1.call(AppProxy.java:99) [cassandra-wrapper.jar:1.0.24]
at com.jetbrains.launcher.AppProxy$6$1.call(AppProxy.java:97) [cassandra-wrapper.jar:1.0.24]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_111]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_111]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_111]

 

For some reasons commitlog got corrupted and now Cassandra cannot start. Remove all files from this directory:

/Users/forastero/www/upsource-3.5.3550/data/cassandra/commitlog/

And try to start Upsource one more time.

0

Please sign in to leave a comment.