Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
-
debian lenny amd64 OpenJDK 64-Bit Server VM (build 1.6.0_0-b11, mixed mode)
-
Low
Description
If a batch mutation is sent with deletions referring to a SCF but no SC is specified in the Deletion object, the following traceback is generated:
ERROR 15:28:16,746 Fatal exception in thread Thread[ROW-MUTATION-STAGE:22,5,main]
java.lang.RuntimeException: java.lang.ClassCastException: org.apache.cassandra.db.Column cannot be cast to org.apache.cassandra.db.SuperColumn
at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.ClassCastException: org.apache.cassandra.db.Column cannot be cast to org.apache.cassandra.db.SuperColumn
at org.apache.cassandra.db.SuperColumnSerializer.serialize(SuperColumn.java:300)
at org.apache.cassandra.db.SuperColumnSerializer.serialize(SuperColumn.java:284)
at org.apache.cassandra.db.ColumnFamilySerializer.serializeForSSTable(ColumnFamilySerializer.java:87)
at org.apache.cassandra.db.ColumnFamilySerializer.serialize(ColumnFamilySerializer.java:73)
at org.apache.cassandra.db.RowMutationSerializer.freezeTheMaps(RowMutation.java:329)
at org.apache.cassandra.db.RowMutationSerializer.serialize(RowMutation.java:341)
at org.apache.cassandra.db.RowMutationSerializer.serialize(RowMutation.java:314)
at org.apache.cassandra.db.RowMutation.getSerializedBuffer(RowMutation.java:270)
at org.apache.cassandra.db.RowMutation.apply(RowMutation.java:200)
at org.apache.cassandra.service.StorageProxy$3.runMayThrow(StorageProxy.java:282)
at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
... 3 more