java.lang.RuntimeException: Last written key DecoratedKey(-9214344598665125698, 373439303632) >= current key DecoratedKey(-9214344598665125698, 373439303632) writing into /mnt/disk2/cassandra/deletion_backups/selenium-orders-tmp-ka-2421-Data.db


Solutions on the web

Solution icon of github
Last written key DecoratedKey(-9214344598665125698, 373439303632) >= current key DecoratedKey(-9214344598665125698, 373439303632) writing into /mnt/disk2/cassandra/deletion_backups/selenium-orders-tmp-ka-2421-Data.db

Solution icon of apache
via Apache's JIRA Issue Tracker by Nikolai Grigoriev, 1 year ago
Last written key DecoratedKey(4020520808752189597, 31302e332e34352e3136312d6765744e6f6e4865617055736564) >= current key DecoratedKey(-2471509717181461453, 31302e332e34352e3135380b0f0000000100000004706470730c000000010c00010c00010b00010000003931302e332e34352e3135382d77696e7465726d7574655f6a6d657465) writing into /mnt/disk2/cassandra/data/OpsCenter/rollups60/OpsCenter-rollups60-tmp-jb-11559-Data.db

Solution icon of apache
via Apache's JIRA Issue Tracker by David Sauer, 1 year ago
Last written key DecoratedKey(131206587314004820534098544948237170809, 800100010000000c62617463685f6d7574617465000000) >= current key DecoratedKey(14775611966645399672119169777260659240, 726f776b65793030385f31343232323937313537353835) writing into /tmp/cass_test/cassandra/TestCassandra/data/test_ks/test_cf-1c45da40a58911e4826751fbbc77b187/test_ks-test_cf-tmp-ka-3-Data.db

Solution icon of web
Last written key DecoratedKey(131206587314004820534098544948237170809, 800100010000000c62617463685f6d7574617465000000) >= current key DecoratedKey(14775611966645399672119169777260659240, 726f776b65793030385f31343232323937313537353835) writing into /tmp/cass_test/cassandra/TestCassandra/data/test_ks/test_cf-1c45da40a58911e4826751fbbc77b187/test_ks-test_cf-tmp-ka-3-Data.db

Solution icon of apache
via Apache's JIRA Issue Tracker by David Sauer, 1 year ago
Last written key DecoratedKey(1156541975678546868, 001000000000111100000000000003bc510f000010000 0000003bc510f00000000111100000000100000000000004000000000000000000100) >= current key DecoratedKey(36735936098318717, 001000 0000001111000000000000015feb8a00001000000000015feb8a00000000111100000000100000000000004000000000000000000100) writing into / cassandra-data/disk2/myks/mytable/myks-mytable-tmp-jb-94445-Data.db

Solution icon of web
Last written key DecoratedKey(131206587314004820534098544948237170809, 800100010000000c62617463685f6d7574617465000000) >= current key DecoratedKey(131206587314004820534098544948237170809, 800100010000000c62617463685f6d7574617465000000) writing into /tmp/cass_test/cassandra/TestCassandra/data/test_ks/test_cf-1c45da40a58911e4826751fbbc77b187/test_ks-test_cf-tmp-ka-4-Data.db

Solution icon of googlegroups
via Google Groups by Prakash Chauhan, 1 year ago
Last written key DecoratedKey(-2711050270696519088, 623330333a313a35) >= current key DecoratedKey(-8631371593982690738, 623437393a313a30) writing into /cassandra/data/main/myCF/myCF-tmp-jb-326-Data.db

Solution icon of googlegroups
Last written key DecoratedKey(150919285004100953907590722809541628889, 5b30363334353237652d383966382d653031312d623131632d3030313535643031373530325d5b436f6d70757465725b4d5350422d$

Stack trace

java.lang.RuntimeException: Last written key DecoratedKey(-9214344598665125698, 373439303632) >= current key DecoratedKey(-9214344598665125698, 373439303632) writing into /mnt/disk2/cassandra/deletion_backups/selenium-orders-tmp-ka-2421-Data.db
	at org.apache.cassandra.io.sstable.SSTableWriter.beforeAppend(SSTableWriter.java:164)[cassandra-all-2.1.8.621.jar:2.1.8.621]
	at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:218)[cassandra-all-2.1.8.621.jar:2.1.8.621]
	at com.protectwise.cassandra.db.compaction.BackupSinkForDeletingCompaction.flush(BackupSinkForDeletingCompaction.java:52)[deleting-compaction-strategy-0.24-SNAPSHOT.jar:0.24-SNAPSHOT]
	at com.protectwise.cassandra.db.compaction.BackupSinkForDeletingCompaction.accept(BackupSinkForDeletingCompaction.java:74)[deleting-compaction-strategy-0.24-SNAPSHOT.jar:0.24-SNAPSHOT]
	at com.protectwise.cassandra.db.columniterator.FilteringOnDiskAtomIterator$1.apply(FilteringOnDiskAtomIterator.java:78)[deleting-compaction-strategy-0.24-SNAPSHOT.jar:0.24-SNAPSHOT]
	at com.protectwise.cassandra.db.columniterator.FilteringOnDiskAtomIterator$1.apply(FilteringOnDiskAtomIterator.java:59)[deleting-compaction-strategy-0.24-SNAPSHOT.jar:0.24-SNAPSHOT]
	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)[guava-16.0.1.jar:na]
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)[guava-16.0.1.jar:na]
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)[guava-16.0.1.jar:na]
	at com.protectwise.cassandra.db.columniterator.FilteringOnDiskAtomIterator.hasNext(FilteringOnDiskAtomIterator.java:137)[deleting-compaction-strategy-0.24-SNAPSHOT.jar:0.24-SNAPSHOT]
	at org.apache.cassandra.utils.MergeIterator$OneToOne.computeNext(MergeIterator.java:202)[cassandra-all-2.1.8.621.jar:2.1.8.621]
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)[guava-16.0.1.jar:na]
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)[guava-16.0.1.jar:na]
	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:645)[guava-16.0.1.jar:na]
	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)[guava-16.0.1.jar:na]
	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)[guava-16.0.1.jar:na]
	at org.apache.cassandra.db.ColumnIndex$Builder.buildForCompaction(ColumnIndex.java:165)[cassandra-all-2.1.8.621.jar:2.1.8.621]
	at org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:121)[cassandra-all-2.1.8.621.jar:2.1.8.621]
	at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:192)[cassandra-all-2.1.8.621.jar:2.1.8.621]
	at org.apache.cassandra.io.sstable.SSTableRewriter.append(SSTableRewriter.java:127)[cassandra-all-2.1.8.621.jar:2.1.8.621]
	at org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:197)[cassandra-all-2.1.8.621.jar:2.1.8.621]
	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)[cassandra-all-2.1.8.621.jar:2.1.8.621]
	at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:73)[cassandra-all-2.1.8.621.jar:2.1.8.621]
	at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59)[cassandra-all-2.1.8.621.jar:2.1.8.621]
	at org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionTask.run(CompactionManager.java:244)[cassandra-all-2.1.8.621.jar:2.1.8.621]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_77]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_77]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_77]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_77]

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.