incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PRANEESH KUMAR <praneesh.san...@gmail.com>
Subject RangeTombstone AIOOBE
Date Fri, 04 Jul 2014 11:14:01 GMT
Hi,

We are running Cassandra 1.2.16 to store data using CQl with the following
structure.

CREATE TABLE sample1 ( row_id text, timeuid timeuuid, value blob, PRIMARY
KEY (row_id, timeuid))
CREATE TABLE sample2 ( row_id text, timeuid timeuuid, value blob, PRIMARY
KEY (row_id, timeuid))

The server got down with ArrayIndexOutOfBoundsException in two different
cases during RowMutation

2 different stack traces

*Trace 1*
ERROR [MutationStage:28] 2014-07-04 02:12:25,876 CassandraDaemon.java (line
191) Exception in thread Thread[MutationStage:28,5,main]
java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: 9
        at
org.apache.cassandra.service.StorageProxy$LocalMutationRunnable.run(StorageProxy.java:1650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 9
        at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:121)
        at
org.apache.cassandra.db.marshal.TimeUUIDType.compareTimestampBytes(TimeUUIDType.java:71)
        at
org.apache.cassandra.db.marshal.TimeUUIDType.compare(TimeUUIDType.java:57)
        at
org.apache.cassandra.db.marshal.TimeUUIDType.compare(TimeUUIDType.java:29)
        at
org.apache.cassandra.db.marshal.AbstractType.compareCollectionMembers(AbstractType.java:241)
        at
org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:81)
        at
org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:31)
        at java.util.Arrays.binarySearch0(Arrays.java:2105)
        at java.util.Arrays.binarySearch(Arrays.java:2090)
        at
org.apache.cassandra.db.RangeTombstoneList.add(RangeTombstoneList.java:142)
        at
org.apache.cassandra.db.RangeTombstoneList.addAll(RangeTombstoneList.java:182)
        at org.apache.cassandra.db.DeletionInfo.add(DeletionInfo.java:180)
        at
org.apache.cassandra.db.AtomicSortedColumns.addAllWithSizeDelta(AtomicSortedColumns.java:200)
        at
org.apache.cassandra.db.AbstractColumnContainer.addAllWithSizeDelta(AbstractColumnContainer.java:99)
        at org.apache.cassandra.db.Memtable.resolve(Memtable.java:205)
        at org.apache.cassandra.db.Memtable.put(Memtable.java:168)
        at
org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:749)
        at org.apache.cassandra.db.Table.apply(Table.java:385)
        at org.apache.cassandra.db.Table.apply(Table.java:350)
        at org.apache.cassandra.db.RowMutation.apply(RowMutation.java:281)
        at
org.apache.cassandra.service.StorageProxy$6.runMayThrow(StorageProxy.java:653)
        at
org.apache.cassandra.service.StorageProxy$LocalMutationRunnable.run(StorageProxy.java:1646)
        ... 3 more
ERROR [MutationStage:17] 2014-07-04 02:14:51,549 CassandraDaemon.java (line
191) Exception in thread Thread[MutationStage:17,5,main]
java.lang.ArrayIndexOutOfBoundsException: 9
        at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:121)
        at
org.apache.cassandra.db.marshal.TimeUUIDType.compareTimestampBytes(TimeUUIDType.java:71)
        at
org.apache.cassandra.db.marshal.TimeUUIDType.compare(TimeUUIDType.java:57)
        at
org.apache.cassandra.db.marshal.TimeUUIDType.compare(TimeUUIDType.java:29)
        at
org.apache.cassandra.db.marshal.AbstractType.compareCollectionMembers(AbstractType.java:241)
        at
org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:81)
        at
org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:31)
        at java.util.Arrays.binarySearch0(Arrays.java:2105)
        at java.util.Arrays.binarySearch(Arrays.java:2090



*Trace 2*

ERROR [MutationStage:9] 2014-07-04 02:20:53,172 CassandraDaemon.java (line
191) Exception in thread Thread[MutationStage:9,5,main]
java.lang.ArrayIndexOutOfBoundsException: 0
        at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:117)
       at
org.apache.cassandra.db.marshal.AbstractCompositeType.getShortLength(AbstractCompositeType.java:36)
        at
org.apache.cassandra.db.marshal.AbstractCompositeType.getWithShortLength(AbstractCompositeType.java:59)
        at
org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:78)
        at
org.apache.cassandra.db.marshal.AbstractCompositeType.compare(AbstractCompositeType.java:31)
        at java.util.Arrays.binarySearch0(Arrays.java:2105)
        at java.util.Arrays.binarySearch(Arrays.java:2090)
        at
org.apache.cassandra.db.RangeTombstoneList.add(RangeTombstoneList.java:142)
        at
org.apache.cassandra.db.RangeTombstoneList.addAll(RangeTombstoneList.java:182)
        at org.apache.cassandra.db.DeletionInfo.add(DeletionInfo.java:180)
        at
org.apache.cassandra.db.AtomicSortedColumns.addAllWithSizeDelta(AtomicSortedColumns.java:200)
        at
org.apache.cassandra.db.AbstractColumnContainer.addAllWithSizeDelta(AbstractColumnContainer.java:99)
        at org.apache.cassandra.db.Memtable.resolve(Memtable.java:205)
        at org.apache.cassandra.db.Memtable.put(Memtable.java:168)
        at
org.apache.cassandra.db.ColumnFamilyStore.apply(ColumnFamilyStore.java:749)
        at org.apache.cassandra.db.Table.apply(Table.java:385)
        at org.apache.cassandra.db.Table.apply(Table.java:350)
        at org.apache.cassandra.db.RowMutation.apply(RowMutation.java:281)
        at
org.apache.cassandra.db.RowMutationVerbHandler.doVerb(RowMutationVerbHandler.java:56)
        at
org.apache.cassandra.net.MessageDeliveryTask.run(MessageDeliveryTask.java:56)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)


Is this an known issue?

Thank you and any advice is appreciated.

Regards,
Praneesh

Mime
View raw message