cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <aa...@thelastpickle.com>
Subject Re: AssertionError
Date Mon, 16 May 2011 21:32:52 GMT
The code is trying to follow the column index for a row in an sstable, but it cannot skip as
many bytes as it would like to to get to the column. Helpfully the help says running out of
bytes is only one of the reasons why this could happen:)

Can you provide some more information about the query and the data, and also the upgrade history
for your cluster.

Thanks
Aaron

On 17/05/2011, at 3:07 AM, "Desimpel, Ignace" <Ignace.Desimpel@nuance.com> wrote:

> Environment : java 64 bit server, java client, thrift get_slice method, Cassandra 0.7.4,
single node
> 
> Depending on the data I pass for a query on a CF I get the following listed below. Any
suggestions what could be wrong based on the stack trace?
> 
>  
> 
> java.lang.AssertionError
> 
>                 at org.apache.cassandra.db.columniterator.IndexedSliceReader$IndexedBlockFetcher.getNextBlock(IndexedSliceReader.java:176)
> 
>                 at org.apache.cassandra.db.columniterator.IndexedSliceReader.computeNext(IndexedSliceReader.java:120)
> 
>                 at org.apache.cassandra.db.columniterator.IndexedSliceReader.computeNext(IndexedSliceReader.java:48)
> 
>                 at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:136)
> 
>                 at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:131)
> 
>                 at org.apache.cassandra.db.columniterator.SSTableSliceIterator.hasNext(SSTableSliceIterator.java:108)
> 
>                 at org.apache.commons.collections.iterators.CollatingIterator.set(CollatingIterator.java:282)
> 
>                 at org.apache.commons.collections.iterators.CollatingIterator.least(CollatingIterator.java:325)
> 
>                 at org.apache.commons.collections.iterators.CollatingIterator.next(CollatingIterator.java:229)
> 
>                 at org.apache.cassandra.utils.ReducingIterator.computeNext(ReducingIterator.java:68)
> 
>                 at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:136)
> 
>                 at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:131)
> 
>                 at org.apache.cassandra.db.filter.SliceQueryFilter.collectReducedColumns(SliceQueryFilter.java:116)
> 
>                 at org.apache.cassandra.db.filter.QueryFilter.collectCollatedColumns(QueryFilter.java:130)
> 
>                 at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelColumns(ColumnFamilyStore.java:1368)
> 
>                 at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1245)
> 
>                 at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(ColumnFamilyStore.java:1173)
> 
>                 at org.apache.cassandra.db.Table.getRow(Table.java:333)
> 
>                 at org.apache.cassandra.db.SliceFromReadCommand.getRow(SliceFromReadCommand.java:63)
> 
>                 at org.apache.cassandra.service.StorageProxy$LocalReadRunnable.runMayThrow(StorageProxy.java:453)
> 
>                 at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
> 
>                 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)
> 
>  
> 
> Ignace Desimpel

Mime
View raw message