From user-return-16837-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Mon May 16 21:33:31 2011 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D32868B9 for ; Mon, 16 May 2011 21:33:31 +0000 (UTC) Received: (qmail 9940 invoked by uid 500); 16 May 2011 21:33:28 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 9902 invoked by uid 500); 16 May 2011 21:33:28 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 9894 invoked by uid 99); 16 May 2011 21:33:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2011 21:33:28 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a51.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 May 2011 21:33:21 +0000 Received: from homiemail-a51.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a51.g.dreamhost.com (Postfix) with ESMTP id 2BD042E8079 for ; Mon, 16 May 2011 14:32:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=subject :references:from:content-type:in-reply-to:message-id:date:to :content-transfer-encoding:mime-version; q=dns; s= thelastpickle.com; b=ZTWGaW6CLAaO7+jXi6KMbCInPTzbNQu2jBl1lxzPFcz 9mEb32Ny6kE51kl/3JLImEMIySV/lpuTGco64iz+Q1UKCE7We+NOkLiiwEl+UU/P DqNAIMzHuj2tdsT52OmguyKo3ywoU6I9ZtNWe/fEia73xJ85VXjDRgp9RWM2+79g = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= subject:references:from:content-type:in-reply-to:message-id:date :to:content-transfer-encoding:mime-version; s=thelastpickle.com; bh=0zAeOZ4q/gWD6Wuw2QYgsjrKxYU=; b=s8kheM6x1eNHpwv2dBtWTheAMrqR Me+5mmE/q7LqSC889Am8ZuIlGsVCCbe8f1efUFUnTn/BbirzWpr50299McOmD1VI cXapgQyeAEMdezf8idtp+Wvoip0gNLWF3xMo3hMZC/ATqzVOkA9Hxp1lWRIF4aZX 15nXMY12/BFdCho= Received: from [115.189.243.150] (unknown [115.189.243.150]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a51.g.dreamhost.com (Postfix) with ESMTPSA id 49FC92E805C for ; Mon, 16 May 2011 14:32:56 -0700 (PDT) Subject: Re: AssertionError References: <15FEFA0410B1AA4F9775D72F0279A368C1A941@EU-EXCH02.nuance.com> From: Aaron Morton Content-Type: multipart/alternative; boundary=Apple-Mail-1-856868167 X-Mailer: iPad Mail (8J3) In-Reply-To: <15FEFA0410B1AA4F9775D72F0279A368C1A941@EU-EXCH02.nuance.com> Message-Id: <3A0D4D0E-843A-4DC9-A6F1-1884CF12E458@thelastpickle.com> Date: Tue, 17 May 2011 09:32:52 +1200 To: "user@cassandra.apache.org" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (iPad Mail 8J3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-1-856868167 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii The code is trying to follow the column index for a row in an sstable, but i= t cannot skip as many bytes as it would like to to get to the column. Helpfu= lly the help says running out of bytes is only one of the reasons why this c= ould 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" w= rote: > Environment : java 64 bit server, java client, thrift get_slice method, Ca= ssandra 0.7.4, single node >=20 > Depending on the data I pass for a query on a CF I get the following liste= d below. Any suggestions what could be wrong based on the stack trace? >=20 > =20 >=20 > java.lang.AssertionError >=20 > at org.apache.cassandra.db.columniterator.IndexedSliceRead= er$IndexedBlockFetcher.getNextBlock(IndexedSliceReader.java:176) >=20 > at org.apache.cassandra.db.columniterator.IndexedSliceRead= er.computeNext(IndexedSliceReader.java:120) >=20 > at org.apache.cassandra.db.columniterator.IndexedSliceRead= er.computeNext(IndexedSliceReader.java:48) >=20 > at com.google.common.collect.AbstractIterator.tryToCompute= Next(AbstractIterator.java:136) >=20 > at com.google.common.collect.AbstractIterator.hasNext(Abst= ractIterator.java:131) >=20 > at org.apache.cassandra.db.columniterator.SSTableSliceIter= ator.hasNext(SSTableSliceIterator.java:108) >=20 > at org.apache.commons.collections.iterators.CollatingItera= tor.set(CollatingIterator.java:282) >=20 > at org.apache.commons.collections.iterators.CollatingItera= tor.least(CollatingIterator.java:325) >=20 > at org.apache.commons.collections.iterators.CollatingItera= tor.next(CollatingIterator.java:229) >=20 > at org.apache.cassandra.utils.ReducingIterator.computeNext= (ReducingIterator.java:68) >=20 > at com.google.common.collect.AbstractIterator.tryToCompute= Next(AbstractIterator.java:136) >=20 > at com.google.common.collect.AbstractIterator.hasNext(Abst= ractIterator.java:131) >=20 > at org.apache.cassandra.db.filter.SliceQueryFilter.collect= ReducedColumns(SliceQueryFilter.java:116) >=20 > at org.apache.cassandra.db.filter.QueryFilter.collectColla= tedColumns(QueryFilter.java:130) >=20 > at org.apache.cassandra.db.ColumnFamilyStore.getTopLevelCo= lumns(ColumnFamilyStore.java:1368) >=20 > at org.apache.cassandra.db.ColumnFamilyStore.getColumnFami= ly(ColumnFamilyStore.java:1245) >=20 > at org.apache.cassandra.db.ColumnFamilyStore.getColumnFami= ly(ColumnFamilyStore.java:1173) >=20 > at org.apache.cassandra.db.Table.getRow(Table.java:333) >=20 > at org.apache.cassandra.db.SliceFromReadCommand.getRow(Sli= ceFromReadCommand.java:63) >=20 > at org.apache.cassandra.service.StorageProxy$LocalReadRunn= able.runMayThrow(StorageProxy.java:453) >=20 > at org.apache.cassandra.utils.WrappedRunnable.run(WrappedR= unnable.java:30) >=20 > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(= ThreadPoolExecutor.java:886) >=20 > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Thre= adPoolExecutor.java:908) >=20 > at java.lang.Thread.run(Thread.java:662) >=20 > =20 >=20 > Ignace Desimpel --Apple-Mail-1-856868167 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
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 i= s only one of the reasons why this could happen:)

C= an you provide some more information about the query and the data, and also t= he 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 g= et the following listed below. Any suggestions what could be wrong based on t= he stack trace?

 

java.lang.AssertionError

           &nb= sp;    at org.apache.cassandra.db.columniterator.IndexedSlice= Reader$IndexedBlockFetcher.getNextBlock(IndexedSliceReader.java:176)

       &nbs= p;        at org.apache.cassandra.db.colu= mniterator.IndexedSliceReader.computeNext(IndexedSliceReader.java:120)<= /o:p>

       &n= bsp;        at org.apache.cassandra.db.co= lumniterator.IndexedSliceReader.computeNext(IndexedSliceReader.java:48)=

       &= nbsp;        at com.google.common.collect= .AbstractIterator.tryToComputeNext(AbstractIterator.java:136)

=

         = ;       at com.google.common.collect.AbstractI= terator.hasNext(AbstractIterator.java:131)

            =     at org.apache.cassandra.db.columniterator.SSTableSliceIte= rator.hasNext(SSTableSliceIterator.java:108)

           &nbs= p;    at org.apache.commons.collections.iterators.CollatingIt= erator.set(CollatingIterator.java:282)

=             &nbs= p;   at org.apache.commons.collections.iterators.CollatingIterator= .least(CollatingIterator.java:325)

&nbs= p;            &n= bsp;  at org.apache.commons.collections.iterators.CollatingIterator.nex= t(CollatingIterator.java:229)

 &nb= sp;            &= nbsp; at org.apache.cassandra.utils.ReducingIterator.computeNext(ReducingIte= rator.java:68)

    =             at com.go= ogle.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:= 136)

     &nbs= p;          at com.google.commo= n.collect.AbstractIterator.hasNext(AbstractIterator.java:131)

=

         = ;       at org.apache.cassandra.db.filter.Slic= eQueryFilter.collectReducedColumns(SliceQueryFilter.java:116)

=

         = ;       at org.apache.cassandra.db.filter.Quer= yFilter.collectCollatedColumns(QueryFilter.java:130)

          &nbs= p;     at org.apache.cassandra.db.ColumnFamilyStore.getT= opLevelColumns(ColumnFamilyStore.java:1368)

            = ;    at org.apache.cassandra.db.ColumnFamilyStore.getColumnFa= mily(ColumnFamilyStore.java:1245)

 = ;            &nb= sp;  at org.apache.cassandra.db.ColumnFamilyStore.getColumnFamily(Colum= nFamilyStore.java:1173)

  &nb= sp;             a= t org.apache.cassandra.db.Table.getRow(Table.java:333)

          =       at org.apache.cassandra.db.SliceFromReadComma= nd.getRow(SliceFromReadCommand.java:63)

            &nb= sp;   at org.apache.cassandra.service.StorageProxy$LocalReadRunnab= le.runMayThrow(StorageProxy.java:453)

&= nbsp;            = ;   at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunna= ble.java:30)

    &n= bsp;           at java.uti= l.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<= o:p>

      &nb= sp;         at java.util.concurrent.= ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

         &nb= sp;      at java.lang.Thread.run(Thread.java:662)

 

Ignace Desimpel

= --Apple-Mail-1-856868167--