[jira] [Commented] (CASSANDRA-6494) Cassandra refuses to restart due to a corrupted commit log.
[ https://issues.apache.org/jira/browse/CASSANDRA-6494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13859661#comment-13859661 ] Eric Lubow commented on CASSANDRA-6494: --- I am seeing this on a bootstrapping node on 1.2.11: {quote} ERROR 19:53:52,029 Exception in thread Thread[CompactionExecutor:93,1,main] java.lang.RuntimeException: 01433f155800 is not defined as a collection at org.apache.cassandra.db.marshal.ColumnToCollectionType.compareCollectionMembers(ColumnToCollectionType.java:69) at org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:81) at org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:31) at org.apache.cassandra.db.ArrayBackedSortedColumns.addColumn(ArrayBackedSortedColumns.java:128) at org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:119) at org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:114) at org.apache.cassandra.db.ColumnFamily.addAtom(ColumnFamily.java:219) at org.apache.cassandra.db.ColumnFamilySerializer.deserializeColumnsFromSSTable(ColumnFamilySerializer.java:149) at org.apache.cassandra.io.sstable.SSTableIdentityIterator.getColumnFamilyWithColumns(SSTableIdentityIterator.java:234) at org.apache.cassandra.db.compaction.PrecompactedRow.merge(PrecompactedRow.java:114) at org.apache.cassandra.db.compaction.PrecompactedRow.(PrecompactedRow.java:98) at org.apache.cassandra.db.compaction.CompactionController.getCompactedRow(CompactionController.java:160) at org.apache.cassandra.db.compaction.CompactionIterable$Reducer.getReduced(CompactionIterable.java:76) at org.apache.cassandra.db.compaction.CompactionIterable$Reducer.getReduced(CompactionIterable.java:57) at org.apache.cassandra.utils.MergeIterator$ManyToOne.consume(MergeIterator.java:114) at org.apache.cassandra.utils.MergeIterator$ManyToOne.computeNext(MergeIterator.java:97) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at org.apache.cassandra.db.compaction.CompactionTask.runWith(CompactionTask.java:145) at org.apache.cassandra.io.util.DiskAwareRunnable.runMayThrow(DiskAwareRunnable.java:48) at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:58) at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:60) at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionTask.run(CompactionManager.java:208) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724) {quote} > Cassandra refuses to restart due to a corrupted commit log. > --- > > Key: CASSANDRA-6494 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6494 > Project: Cassandra > Issue Type: Bug >Reporter: Shao-Chuan Wang > > This is running on our production server. Please advise how to address this > issue. Thank you! > INFO 02:46:58,879 Finished reading > /mnt/cassandra/commitlog/CommitLog-3-1386069222785.log > ERROR 02:46:58,879 Exception encountered during startup > java.lang.RuntimeException: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: 706167655f74616773 is not defined as a collection > at > org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:411) > at > org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:400) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:273) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:96) > at > org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:146) > at > org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:126) > at > org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:299) > at > org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:442) > at > org.apache.cassandra.service.CassandraDaemon.main(CassandraDae
[jira] [Commented] (CASSANDRA-6494) Cassandra refuses to restart due to a corrupted commit log.
[ https://issues.apache.org/jira/browse/CASSANDRA-6494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13859665#comment-13859665 ] Jonathan Ellis commented on CASSANDRA-6494: --- That means it is trying to replay mutations from an invalid schema. What have you done to your schema recently? > Cassandra refuses to restart due to a corrupted commit log. > --- > > Key: CASSANDRA-6494 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6494 > Project: Cassandra > Issue Type: Bug >Reporter: Shao-Chuan Wang > > This is running on our production server. Please advise how to address this > issue. Thank you! > INFO 02:46:58,879 Finished reading > /mnt/cassandra/commitlog/CommitLog-3-1386069222785.log > ERROR 02:46:58,879 Exception encountered during startup > java.lang.RuntimeException: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: 706167655f74616773 is not defined as a collection > at > org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:411) > at > org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:400) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:273) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:96) > at > org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:146) > at > org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:126) > at > org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:299) > at > org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:442) > at > org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:485) > Caused by: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: 706167655f74616773 is not defined as a collection > at java.util.concurrent.FutureTask.report(FutureTask.java:122) > at java.util.concurrent.FutureTask.get(FutureTask.java:188) > at > org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:407) > ... 8 more > Caused by: java.lang.RuntimeException: 706167655f74616773 is not defined as a > collection > at > org.apache.cassandra.db.marshal.ColumnToCollectionType.compareCollectionMembers(ColumnToCollectionType.java:72) > at > org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:85) > at > org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:35) > at > edu.stanford.ppl.concurrent.SnapTreeMap$1.compareTo(SnapTreeMap.java:538) > at > edu.stanford.ppl.concurrent.SnapTreeMap.attemptUpdate(SnapTreeMap.java:1108) > at > edu.stanford.ppl.concurrent.SnapTreeMap.attemptUpdate(SnapTreeMap.java:1192) > at > edu.stanford.ppl.concurrent.SnapTreeMap.updateUnderRoot(SnapTreeMap.java:1059) > at edu.stanford.ppl.concurrent.SnapTreeMap.update(SnapTreeMap.java:1023) > at > edu.stanford.ppl.concurrent.SnapTreeMap.putIfAbsent(SnapTreeMap.java:985) > at > org.apache.cassandra.db.AtomicSortedColumns$Holder.addColumn(AtomicSortedColumns.java:323) > at > org.apache.cassandra.db.AtomicSortedColumns.addAllWithSizeDelta(AtomicSortedColumns.java:195) > at org.apache.cassandra.db.Memtable.resolve(Memtable.java:196) > at org.apache.cassandra.db.Memtable.put(Memtable.java:160) > at > org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:842) > at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:373) > at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:338) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer$1.runMayThrow(CommitLogReplayer.java:265) > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:724) > java.lang.RuntimeException: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: 706167655f74616773 is not defined as a collection > at > org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:411) > at > org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:400) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:273) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:96) >
[jira] [Commented] (CASSANDRA-6494) Cassandra refuses to restart due to a corrupted commit log.
[ https://issues.apache.org/jira/browse/CASSANDRA-6494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13859672#comment-13859672 ] Eric Lubow commented on CASSANDRA-6494: --- We dropped a table named 'uniques' and recreated the same table with a different primary key. This error also appears to have frozen the bootstrap as nothing has happened on the bootstrap in over an hour. > Cassandra refuses to restart due to a corrupted commit log. > --- > > Key: CASSANDRA-6494 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6494 > Project: Cassandra > Issue Type: Bug >Reporter: Shao-Chuan Wang > > This is running on our production server. Please advise how to address this > issue. Thank you! > INFO 02:46:58,879 Finished reading > /mnt/cassandra/commitlog/CommitLog-3-1386069222785.log > ERROR 02:46:58,879 Exception encountered during startup > java.lang.RuntimeException: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: 706167655f74616773 is not defined as a collection > at > org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:411) > at > org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:400) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:273) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:96) > at > org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:146) > at > org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:126) > at > org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:299) > at > org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:442) > at > org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:485) > Caused by: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: 706167655f74616773 is not defined as a collection > at java.util.concurrent.FutureTask.report(FutureTask.java:122) > at java.util.concurrent.FutureTask.get(FutureTask.java:188) > at > org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:407) > ... 8 more > Caused by: java.lang.RuntimeException: 706167655f74616773 is not defined as a > collection > at > org.apache.cassandra.db.marshal.ColumnToCollectionType.compareCollectionMembers(ColumnToCollectionType.java:72) > at > org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:85) > at > org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:35) > at > edu.stanford.ppl.concurrent.SnapTreeMap$1.compareTo(SnapTreeMap.java:538) > at > edu.stanford.ppl.concurrent.SnapTreeMap.attemptUpdate(SnapTreeMap.java:1108) > at > edu.stanford.ppl.concurrent.SnapTreeMap.attemptUpdate(SnapTreeMap.java:1192) > at > edu.stanford.ppl.concurrent.SnapTreeMap.updateUnderRoot(SnapTreeMap.java:1059) > at edu.stanford.ppl.concurrent.SnapTreeMap.update(SnapTreeMap.java:1023) > at > edu.stanford.ppl.concurrent.SnapTreeMap.putIfAbsent(SnapTreeMap.java:985) > at > org.apache.cassandra.db.AtomicSortedColumns$Holder.addColumn(AtomicSortedColumns.java:323) > at > org.apache.cassandra.db.AtomicSortedColumns.addAllWithSizeDelta(AtomicSortedColumns.java:195) > at org.apache.cassandra.db.Memtable.resolve(Memtable.java:196) > at org.apache.cassandra.db.Memtable.put(Memtable.java:160) > at > org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:842) > at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:373) > at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:338) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer$1.runMayThrow(CommitLogReplayer.java:265) > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:724) > java.lang.RuntimeException: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: 706167655f74616773 is not defined as a collection > at > org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:411) > at > org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:400) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:273) > at > or
[jira] [Commented] (CASSANDRA-6494) Cassandra refuses to restart due to a corrupted commit log.
[ https://issues.apache.org/jira/browse/CASSANDRA-6494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13859833#comment-13859833 ] Shao-Chuan Wang commented on CASSANDRA-6494: We did drop the column and recreated the same column family with different schema. > Cassandra refuses to restart due to a corrupted commit log. > --- > > Key: CASSANDRA-6494 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6494 > Project: Cassandra > Issue Type: Bug >Reporter: Shao-Chuan Wang > > This is running on our production server. Please advise how to address this > issue. Thank you! > INFO 02:46:58,879 Finished reading > /mnt/cassandra/commitlog/CommitLog-3-1386069222785.log > ERROR 02:46:58,879 Exception encountered during startup > java.lang.RuntimeException: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: 706167655f74616773 is not defined as a collection > at > org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:411) > at > org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:400) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:273) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:96) > at > org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:146) > at > org.apache.cassandra.db.commitlog.CommitLog.recover(CommitLog.java:126) > at > org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:299) > at > org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:442) > at > org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:485) > Caused by: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: 706167655f74616773 is not defined as a collection > at java.util.concurrent.FutureTask.report(FutureTask.java:122) > at java.util.concurrent.FutureTask.get(FutureTask.java:188) > at > org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:407) > ... 8 more > Caused by: java.lang.RuntimeException: 706167655f74616773 is not defined as a > collection > at > org.apache.cassandra.db.marshal.ColumnToCollectionType.compareCollectionMembers(ColumnToCollectionType.java:72) > at > org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:85) > at > org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:35) > at > edu.stanford.ppl.concurrent.SnapTreeMap$1.compareTo(SnapTreeMap.java:538) > at > edu.stanford.ppl.concurrent.SnapTreeMap.attemptUpdate(SnapTreeMap.java:1108) > at > edu.stanford.ppl.concurrent.SnapTreeMap.attemptUpdate(SnapTreeMap.java:1192) > at > edu.stanford.ppl.concurrent.SnapTreeMap.updateUnderRoot(SnapTreeMap.java:1059) > at edu.stanford.ppl.concurrent.SnapTreeMap.update(SnapTreeMap.java:1023) > at > edu.stanford.ppl.concurrent.SnapTreeMap.putIfAbsent(SnapTreeMap.java:985) > at > org.apache.cassandra.db.AtomicSortedColumns$Holder.addColumn(AtomicSortedColumns.java:323) > at > org.apache.cassandra.db.AtomicSortedColumns.addAllWithSizeDelta(AtomicSortedColumns.java:195) > at org.apache.cassandra.db.Memtable.resolve(Memtable.java:196) > at org.apache.cassandra.db.Memtable.put(Memtable.java:160) > at > org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:842) > at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:373) > at org.apache.cassandra.db.Keyspace.apply(Keyspace.java:338) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer$1.runMayThrow(CommitLogReplayer.java:265) > at > org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:724) > java.lang.RuntimeException: java.util.concurrent.ExecutionException: > java.lang.RuntimeException: 706167655f74616773 is not defined as a collection > at > org.apache.cassandra.utils.FBUtilities.waitOnFuture(FBUtilities.java:411) > at > org.apache.cassandra.utils.FBUtilities.waitOnFutures(FBUtilities.java:400) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:273) > at > org.apache.cassandra.db.commitlog.CommitLogReplayer.recover(CommitLogReplayer.java:96) > at > org.apache.cass