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

GitHub | ayazahmad786 | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Backup option causes error if there are overlapping keys in source SSTables

    GitHub | 4 months ago | ayazahmad786
    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
  2. 0

    [CASSANDRA-6285] 2.0 HSHA server introduces corrupt data - ASF JIRA

    apache.org | 1 year ago
    java.lang.RuntimeException: 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
  3. 0

    After altering everything to LCS the table OpsCenter.rollups60 amd one other none OpsCenter-Table got stuck with everything hanging around in L0. The compaction started and ran until the logs showed this: ERROR [CompactionExecutor:111] 2013-11-01 19:14:53,865 CassandraDaemon.java (line 187) Exception in thread Thread[CompactionExecutor:111,1,RMI Runtime] java.lang.RuntimeException: Last written key DecoratedKey(1326283851463420237, 37382e34362e3132382e3139382d6a7576616c69735f6e6f72785f696e6465785f323031335f31305f30382d63616368655f646f63756d656e74736c6f6f6b75702d676574426c6f6f6d46696c746572537061636555736564) >= current key DecoratedKey(954210699457429663, 37382e34362e3132382e3139382d6a7576616c69735f6e6f72785f696e6465785f323031335f31305f30382d63616368655f646f63756d656e74736c6f6f6b75702d676574546f74616c4469736b5370616365557365640b0f) writing into /var/lib/cassandra/data/OpsCenter/rollups60/OpsCenter-rollups60-tmp-jb-58656-Data.db at org.apache.cassandra.io.sstable.SSTableWriter.beforeAppend(SSTableWriter.java:141) at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:164) at org.apache.cassandra.db.compaction.CompactionTask.runWith(CompactionTask.java:160) 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:60) at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59) at org.apache.cassandra.db.compaction.CompactionManager$6.runMayThrow(CompactionManager.java:296) 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) Moving back to STC worked to keep the compactions running. Especialy my own Table i would like to move to LCS. After a major compaction with STC the move to LCS fails with the same Exception.

    Apache's JIRA Issue Tracker | 3 years ago | David Sauer
    java.lang.RuntimeException: 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [CASSANDRA-6285] 2.0 HSHA server introduces corrupt data - ASF JIRA

    apache.org | 2 years ago
    java.lang.RuntimeException: 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

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. org.apache.cassandra
      SSTableWriter.append
      1. org.apache.cassandra.io.sstable.SSTableWriter.beforeAppend(SSTableWriter.java:164)[cassandra-all-2.1.8.621.jar:2.1.8.621]
      2. org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:218)[cassandra-all-2.1.8.621.jar:2.1.8.621]
      2 frames
    3. com.protectwise.cassandra
      FilteringOnDiskAtomIterator$1.apply
      1. com.protectwise.cassandra.db.compaction.BackupSinkForDeletingCompaction.flush(BackupSinkForDeletingCompaction.java:52)[deleting-compaction-strategy-0.24-SNAPSHOT.jar:0.24-SNAPSHOT]
      2. com.protectwise.cassandra.db.compaction.BackupSinkForDeletingCompaction.accept(BackupSinkForDeletingCompaction.java:74)[deleting-compaction-strategy-0.24-SNAPSHOT.jar:0.24-SNAPSHOT]
      3. com.protectwise.cassandra.db.columniterator.FilteringOnDiskAtomIterator$1.apply(FilteringOnDiskAtomIterator.java:78)[deleting-compaction-strategy-0.24-SNAPSHOT.jar:0.24-SNAPSHOT]
      4. com.protectwise.cassandra.db.columniterator.FilteringOnDiskAtomIterator$1.apply(FilteringOnDiskAtomIterator.java:59)[deleting-compaction-strategy-0.24-SNAPSHOT.jar:0.24-SNAPSHOT]
      4 frames
    4. Guava
      AbstractIterator.hasNext
      1. com.google.common.collect.Iterators$7.computeNext(Iterators.java:647)[guava-16.0.1.jar:na]
      2. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)[guava-16.0.1.jar:na]
      3. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)[guava-16.0.1.jar:na]
      3 frames
    5. com.protectwise.cassandra
      FilteringOnDiskAtomIterator.hasNext
      1. com.protectwise.cassandra.db.columniterator.FilteringOnDiskAtomIterator.hasNext(FilteringOnDiskAtomIterator.java:137)[deleting-compaction-strategy-0.24-SNAPSHOT.jar:0.24-SNAPSHOT]
      1 frame
    6. Apache Cassandra
      MergeIterator$OneToOne.computeNext
      1. org.apache.cassandra.utils.MergeIterator$OneToOne.computeNext(MergeIterator.java:202)[cassandra-all-2.1.8.621.jar:2.1.8.621]
      1 frame
    7. Guava
      AbstractIterator.hasNext
      1. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)[guava-16.0.1.jar:na]
      2. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)[guava-16.0.1.jar:na]
      3. com.google.common.collect.Iterators$7.computeNext(Iterators.java:645)[guava-16.0.1.jar:na]
      4. com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)[guava-16.0.1.jar:na]
      5. com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)[guava-16.0.1.jar:na]
      5 frames
    8. org.apache.cassandra
      CompactionTask.runMayThrow
      1. org.apache.cassandra.db.ColumnIndex$Builder.buildForCompaction(ColumnIndex.java:165)[cassandra-all-2.1.8.621.jar:2.1.8.621]
      2. org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:121)[cassandra-all-2.1.8.621.jar:2.1.8.621]
      3. org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:192)[cassandra-all-2.1.8.621.jar:2.1.8.621]
      4. org.apache.cassandra.io.sstable.SSTableRewriter.append(SSTableRewriter.java:127)[cassandra-all-2.1.8.621.jar:2.1.8.621]
      5. org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:197)[cassandra-all-2.1.8.621.jar:2.1.8.621]
      5 frames
    9. Apache Cassandra
      WrappedRunnable.run
      1. org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)[cassandra-all-2.1.8.621.jar:2.1.8.621]
      1 frame
    10. org.apache.cassandra
      CompactionManager$BackgroundCompactionTask.run
      1. org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:73)[cassandra-all-2.1.8.621.jar:2.1.8.621]
      2. org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:59)[cassandra-all-2.1.8.621.jar:2.1.8.621]
      3. org.apache.cassandra.db.compaction.CompactionManager$BackgroundCompactionTask.run(CompactionManager.java:244)[cassandra-all-2.1.8.621.jar:2.1.8.621]
      3 frames
    11. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[na:1.8.0_77]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_77]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_77]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_77]
      4 frames