cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mateusz Gajewski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6738) java.lang.ClassCastException: org.apache.cassandra.db.composites.CompoundComposite cannot be cast to org.apache.cassandra.db.composites.CellName
Date Fri, 28 Feb 2014 15:36:22 GMT

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

Mateusz Gajewski commented on CASSANDRA-6738:
---------------------------------------------

I can attach sstables if it will help somehow :)

> java.lang.ClassCastException: org.apache.cassandra.db.composites.CompoundComposite cannot
be cast to org.apache.cassandra.db.composites.CellName
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6738
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6738
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Mateusz Gajewski
>            Assignee: Sylvain Lebresne
>             Fix For: 2.1 beta2
>
>         Attachments: 6738.txt
>
>
> When using nodetool upgradesstables (2.0.4 -> 2.1-beta) class cast exception occurs:
> ERROR [CompactionExecutor:7] 2014-02-19 21:34:16,839 CassandraDaemon.java:165 - Exception
in thread Thread[CompactionExecutor:7,1,main]
> java.lang.ClassCastException: org.apache.cassandra.db.composites.CompoundComposite cannot
be cast to org.apache.cassandra.db.composites.CellName
> 	at org.apache.cassandra.db.OnDiskAtom$Serializer.deserializeFromSSTable(OnDiskAtom.java:86)
~[main/:na]
> 	at org.apache.cassandra.db.Cell$1.computeNext(Cell.java:75) ~[main/:na]
> 	at org.apache.cassandra.db.Cell$1.computeNext(Cell.java:64) ~[main/:na]
> 	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
~[guava-16.0.jar:na]
> 	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-16.0.jar:na]
> 	at org.apache.cassandra.io.sstable.SSTableIdentityIterator.hasNext(SSTableIdentityIterator.java:129)
~[main/:na]
> 	at org.apache.cassandra.utils.MergeIterator$OneToOne.computeNext(MergeIterator.java:200)
~[main/:na]
> 	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
~[guava-16.0.jar:na]
> 	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-16.0.jar:na]
> 	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:645) ~[guava-16.0.jar:na]
> 	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
~[guava-16.0.jar:na]
> 	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) ~[guava-16.0.jar:na]
> 	at org.apache.cassandra.db.ColumnIndex$Builder.buildForCompaction(ColumnIndex.java:165)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.LazilyCompactedRow.write(LazilyCompactedRow.java:110)
~[main/:na]
> 	at org.apache.cassandra.io.sstable.SSTableWriter.append(SSTableWriter.java:178) ~[main/:na]
> 	at org.apache.cassandra.db.compaction.CompactionTask.runWith(CompactionTask.java:172)
~[main/:na]
> 	at org.apache.cassandra.io.util.DiskAwareRunnable.runMayThrow(DiskAwareRunnable.java:48)
~[main/:na]
> 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28) ~[main/:na]
> 	at org.apache.cassandra.db.compaction.CompactionTask.executeInternal(CompactionTask.java:67)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.AbstractCompactionTask.execute(AbstractCompactionTask.java:64)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.CompactionManager$4.perform(CompactionManager.java:262)
~[main/:na]
> 	at org.apache.cassandra.db.compaction.CompactionManager$2.call(CompactionManager.java:227)
~[main/:na]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:262) ~[na:1.7.0_45]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) ~[na:1.7.0_45]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_45]
> 	at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message