cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-5676) Occasional timeouts from cassandra on secondary index queries: AssertionError: Illegal offset error observed in cassandra logs.
Date Thu, 20 Jun 2013 14:52:20 GMT
Rao created CASSANDRA-5676:
------------------------------

             Summary: Occasional timeouts from cassandra on secondary index queries: AssertionError:
Illegal offset error observed in cassandra logs.
                 Key: CASSANDRA-5676
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5676
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.2.5
            Reporter: Rao


When executing the queries based on secondary index, we are occasionally getting a OperationTimeoutException
from astyanax client and at the same time observed the following error in Cassandra logs:

Query executed: select * from grd.route where serviceidentifier='com.att.aft.NagiosTestService'
 LIMIT 30000 ALLOW FILTERING;

serviceidentifier has a secondary index.

ERROR [ReadStage:6185] 2013-06-20 09:20:31,574 CassandraDaemon.java (line 175) Exception in
thread Thread[ReadStage:6185,5,RMI Runtime]
java.lang.AssertionError: Illegal offset: 13956, size: 13955
        at org.apache.cassandra.io.util.Memory.checkPosition(Memory.java:147)
        at org.apache.cassandra.io.util.Memory.setBytes(Memory.java:103)
        at org.apache.cassandra.io.util.MemoryOutputStream.write(MemoryOutputStream.java:45)
        at org.apache.cassandra.utils.vint.EncodedDataOutputStream.write(EncodedDataOutputStream.java:50)
        at org.apache.cassandra.utils.ByteBufferUtil.write(ByteBufferUtil.java:328)
        at org.apache.cassandra.utils.ByteBufferUtil.writeWithLength(ByteBufferUtil.java:315)
        at org.apache.cassandra.db.ColumnSerializer.serialize(ColumnSerializer.java:55)
        at org.apache.cassandra.db.ColumnSerializer.serialize(ColumnSerializer.java:30)
        at org.apache.cassandra.db.ColumnFamilySerializer.serialize(ColumnFamilySerializer.java:73)
        at org.apache.cassandra.cache.SerializingCacheProvider$RowCacheSerializer.serialize(SerializingCacheProvider.java:47)
        at org.apache.cassandra.cache.SerializingCacheProvider$RowCacheSerializer.serialize(SerializingCacheProvider.java:37)
        at org.apache.cassandra.cache.SerializingCache.serialize(SerializingCache.java:118)
        at org.apache.cassandra.cache.SerializingCache.replace(SerializingCache.java:206)
        at org.apache.cassandra.cache.InstrumentingCache.replace(InstrumentingCache.java:54)
        at org.apache.cassandra.db.ColumnFamilyStore.getThroughCache(ColumnFamilyStore.java:1174)
        at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1203)
        at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1126)
        at org.apache.cassandra.db.index.composites.CompositesSearcher$1.computeNext(CompositesSearcher.java:305)
        at org.apache.cassandra.db.index.composites.CompositesSearcher$1.computeNext(CompositesSearcher.java:161)
        at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
        at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
        at org.apache.cassandra.db.ColumnFamilyStore.filter(ColumnFamilyStore.java:1466)
        at org.apache.cassandra.db.index.composites.CompositesSearcher.search(CompositesSearcher.java:85)
        at org.apache.cassandra.db.index.SecondaryIndexManager.search(SecondaryIndexManager.java:548)
        at org.apache.cassandra.db.ColumnFamilyStore.search(ColumnFamilyStore.java:1454)
        at org.apache.cassandra.service.RangeSliceVerbHandler.executeLocally(RangeSliceVerbHandler.java:44)
        at org.apache.cassandra.service.StorageProxy$LocalRangeSliceRunnable.runMayThrow(StorageProxy.java:1076)
        at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1578)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:722)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message