[ 
https://issues.apache.org/jira/browse/CASSANDRA-9126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14708014#comment-14708014
 ] 

Dmitrii Saprykin commented on CASSANDRA-9126:
---------------------------------------------

Thanks a lot for your reply!

cfstats output for affected keyspace:
{noformat}
Keyspace: bigks
        Read Count: 50
        Read Latency: 12.39796 ms.
        Write Count: 228916
        Write Latency: 0.031050756609411312 ms.
        Pending Tasks: 0

                Table: chunks
                SSTable count: 1208
                SSTables in each level: [5/4, 14/10, 105/100, 1016/1000, 68, 0, 
0, 0, 0]
                Space used (live), bytes: 311268548761
                Space used (total), bytes: 311268548761
                Off heap memory used (total), bytes: 353408
                SSTable Compression Ratio: 0.0
                Number of keys (estimate): 329472
                Memtable cell count: 0
                Memtable data size, bytes: 0
                Memtable switch count: 1
                Local read count: 0
                Local read latency: 0.000 ms
                Local write count: 11
                Local write latency: 0.000 ms
                Pending tasks: 0
                Bloom filter false positives: 0
                Bloom filter false ratio: 0.00000
                Bloom filter space used, bytes: 321888
                Bloom filter off heap memory used, bytes: 312224
                Index summary off heap memory used, bytes: 41184
                Compression metadata off heap memory used, bytes: 0
                Compacted partition minimum bytes: 61215
                Compacted partition maximum bytes: 36157190
                Compacted partition mean bytes: 1325042
                Average live cells per slice (last five minutes): 0.0
                Average tombstones per slice (last five minutes): 0.0
{noformat}

> java.lang.RuntimeException: Last written key DecoratedKey >= current key 
> DecoratedKey
> -------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-9126
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9126
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: srinivasu gottipati
>            Priority: Critical
>             Fix For: 2.0.x
>
>
> Cassandra V: 2.0.14,
> Getting the following exceptions while trying to compact (I see this issue 
> was raised in earlier versions and marked as closed. However it still appears 
> in 2.0.14). In our case, compaction is not getting succeeded and keep failing 
> with this error.:
> {code}java.lang.RuntimeException: Last written key 
> DecoratedKey(3462767860784856708, 
> 354038323137333038305f3330325f31355f474d4543454f) >= current key 
> DecoratedKey(3462334604624154281, 
> 354036333036353334315f3336315f31355f474d4543454f) writing into {code}
> .......
> Stacktrace:{code}
>       at 
> org.apache.cassandra.io.sstable.SSTableWriter.beforeAppend(SSTableWriter.java:143)
>       at 
> org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:166)
>       at 
> org.apache.cassandra.db.compaction.CompactionTask.runMayThrow(CompactionTask.java:167)
>       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$BackgroundCompactionTask.run(CompactionManager.java:198)
>       at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>       at java.lang.Thread.run(Thread.java:745){code}
> Any help is greatly appreciated



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to