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 A3C7A10BF7 for ; Mon, 23 Dec 2013 20:16:55 +0000 (UTC) Received: (qmail 59685 invoked by uid 500); 23 Dec 2013 20:16:53 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 59661 invoked by uid 500); 23 Dec 2013 20:16:53 -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 59646 invoked by uid 99); 23 Dec 2013 20:16:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Dec 2013 20:16:52 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.220.54] (HELO mail-pa0-f54.google.com) (209.85.220.54) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Dec 2013 20:16:48 +0000 Received: by mail-pa0-f54.google.com with SMTP id rd3so5739408pab.27 for ; Mon, 23 Dec 2013 12:16:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to; bh=1ckEwPTc8XCZLYM3TT9V3XaUeNPaF1Yu8iVmTWm2XYE=; b=feI0t7fVmd/qgYEh5IXm/VUfIyg+oFDyFD6yYetvB3PshnCw217qtYG7f3FwtALrca j7KQT92DsXZ4OLhuY8VYKhaEndPxsZWWe1DUMFQldMNlgAvN2r3cL3qs7F+WMb6AxcL+ OEgswuN2GrtQvjlmGqmG5mQXETs6u2Gi1SuYPSpfEybzfezS9OX3sZOMN+e7UiKw/ywF bOQrtNg2AfAFSeH563H800INImjbNEfpqqo4Z7dX05VSZwW+eDgbqde98jhx+KIrih0a n98GJiumqIT2kms9YC2TXYrcY8VLASiFIWWNOk3dTg4GfOadh6UubNcFkA5Hrh3S2NRE GS8w== X-Gm-Message-State: ALoCoQm3CU3yinHt/j6Ec1G0Ib75owwW6kgKJSKsa5vSlz391ENqMw5Ete3jPAxdPn2wt4YLZvWl X-Received: by 10.67.14.162 with SMTP id fh2mr16114111pad.120.1387829787774; Mon, 23 Dec 2013 12:16:27 -0800 (PST) Received: from [172.16.1.18] ([203.86.207.101]) by mx.google.com with ESMTPSA id ae5sm47529949pac.18.2013.12.23.12.16.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Dec 2013 12:16:26 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: org.apache.thrift.TApplicationException: get_range_slices failed: out of sequence response From: Aaron Morton In-Reply-To: Date: Tue, 24 Dec 2013 09:16:23 +1300 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Cassandra User X-Mailer: Apple Mail (2.1827) X-Virus-Checked: Checked by ClamAV on apache.org AFAIK it mean the response from the server is for a different request, = probably something going wrong with the threading or trying to do async = IO with thrift.=20 > I know it is ancient cassandra but just wanna learn it. Looking at anything other than 2.0 will be wasting your time.=20 Cheers ----------------- Aaron Morton New Zealand @aaronmorton Co-Founder & Principal Consultant Apache Cassandra Consulting http://www.thelastpickle.com On 19/12/2013, at 11:38 pm, Jason Wee wrote: > Hi,=20 > In regards to recv_get_range_slices(), in my cassandra client code, it = always throw new = org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationExce= ption.BAD_SEQUENCE_ID, "get_range_slices failed: out of sequence = response"); >=20 > Full source code here > = https://raw.github.com/apache/cassandra/cassandra-1.0.12/interface/thrift/= gen-java/org/apache/cassandra/thrift/Cassandra.java >=20 > Can anybody give some clue as to why the exception is always thrown? = My cassandra use is version 0.7.10 and the code checking msg.seqid = remain until version 1.0.12. I know it is ancient cassandra but just = wanna learn it. I have checked cassandra 1.1 branch, the checking = condition if (msg.seqid !=3D seqid_) { was removed. > Thank you and any clue or indication will be great. > /Jason