cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <sylv...@datastax.com>
Subject Re: Added column does not sort as the last column
Date Mon, 21 Nov 2011 08:00:57 GMT
Are you certain you didn't mistakenly changed the comparator (or subcomparator)
for one of your column family during the upgrade? That could typically trigger
such a thing.

--
Sylvain

On Sat, Nov 19, 2011 at 10:00 PM, huyle <huyle@springpartners.com> wrote:
> Hi,
>
> We got "Added column does not sort as the last column" error in the logs
> after upgrading to cass 1.0.3 from 0.6.13.  After running scrub, we still
> getting the error.
>
> Here is stack trace:
>
> java.lang.AssertionError: Added column does not sort as the last column
>        at
> org.apache.cassandra.db.ArrayBackedSortedColumns.addColumn(ArrayBackedSortedColumns.java:126)
>        at
> org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:122)
>        at
> org.apache.cassandra.db.AbstractColumnContainer.addColumn(AbstractColumnContainer.java:117)
>        at
> org.apache.cassandra.db.ColumnFamilySerializer.deserializeColumns(ColumnFamilySerializer.java:147)
>        at
> org.apache.cassandra.io.sstable.SSTableIdentityIterator.getColumnFamilyWithColumns(SSTableIdentityIterator.java:231)
>        at
> org.apache.cassandra.db.compaction.PrecompactedRow.merge(PrecompactedRow.java:115)
>        at
> org.apache.cassandra.db.compaction.PrecompactedRow.<init>(PrecompactedRow.java:102)
>        at
> org.apache.cassandra.db.compaction.CompactionController.getCompactedRow(CompactionController.java:127)
>        at
> org.apache.cassandra.db.compaction.CompactionIterable$Reducer.getReduced(CompactionIterable.java:102)
>        at
> org.apache.cassandra.db.compaction.CompactionIterable$Reducer.getReduced(CompactionIterable.java:87)
>        at
> org.apache.cassandra.utils.MergeIterator$ManyToOne.consume(MergeIterator.java:116)
>        at
> org.apache.cassandra.utils.MergeIterator$ManyToOne.computeNext(MergeIterator.java:99)
>        at
> com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:140)
>        at
> com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:135)
>        at
> com.google.common.collect.Iterators$7.computeNext(Iterators.java:614)
>        at
> com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:140)
>        at
> com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:135)
>        at
> org.apache.cassandra.db.compaction.CompactionTask.execute(CompactionTask.java:172)
>        at
> org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:132)
>        at
> org.apache.cassandra.db.compaction.CompactionManager$1.call(CompactionManager.java:114)
>        at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>        at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>        at java.lang.Thread.run(Thread.java:662)
>
>
> Does anyone have any idea what might be causing this issue?    We use
> CompositeType class from
> https://github.com/edanuff/CassandraCompositeType/commit/a584bf2dadd3e6bb6071db7cf181e1546d8c93db.
> Would it have anything to do with the error?  Thanks!
>
> Huy
>
> --
> View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Added-column-does-not-sort-as-the-last-column-tp7012104p7012104.html
> Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.
>

Mime
View raw message