Return-Path: Delivered-To: apmail-incubator-cassandra-dev-archive@minotaur.apache.org Received: (qmail 95986 invoked from network); 16 Nov 2009 13:11:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Nov 2009 13:11:02 -0000 Received: (qmail 9860 invoked by uid 500); 16 Nov 2009 13:11:02 -0000 Delivered-To: apmail-incubator-cassandra-dev-archive@incubator.apache.org Received: (qmail 9816 invoked by uid 500); 16 Nov 2009 13:11:02 -0000 Mailing-List: contact cassandra-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-dev@incubator.apache.org Received: (qmail 9806 invoked by uid 99); 16 Nov 2009 13:11:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 13:11:02 +0000 X-ASF-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.220.214 as permitted sender) Received: from [209.85.220.214] (HELO mail-fx0-f214.google.com) (209.85.220.214) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 13:10:58 +0000 Received: by fxm6 with SMTP id 6so1363328fxm.20 for ; Mon, 16 Nov 2009 05:10:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=Or4Rj4mFZpPPts+By2qEOOtdwGxc2d7bx4Vq/XKFkHc=; b=e0zbcYDamfHqEdIMlXfLePrqq1ujWAUZ8UJZzJXVPBVkgcUA+jw9yRlXjEeAs1c9vC 8sQdI6r9dSu8v8+rgYFRckmmtuuEkGBNKDSTThixvxz5rxnpLyTt9SFCB+qM1pv2B24f OT8cwDYACNsTubQ1vqHAm8B4eR8qLdTE/zcCY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=CEXl+fOodSVzmKnYl7bK8SakXALO1uJm9HIqMOu08LaMVEfvNd+aYKyjN1aycGA+Mn mctbWk4P9qmNjEBYt43mjo2T5n9bUTlPkEENX96cYdZs5oy2QpwEa7oY2se2gLPPPCaN LcZXOJWgFkFWJuMAz0iNRfo4cpsKcm3VvoQPU= MIME-Version: 1.0 Received: by 10.216.91.10 with SMTP id g10mr246181wef.217.1258377006118; Mon, 16 Nov 2009 05:10:06 -0800 (PST) In-Reply-To: References: From: Jonathan Ellis Date: Mon, 16 Nov 2009 07:09:46 -0600 Message-ID: Subject: Re: Issue in data read from a cluster node To: cassandra-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable What is your replication factor? And what internal error is getting logged? On Mon, Nov 16, 2009 at 2:04 AM, Shreya Chakravarty wrote: > Hi, > > I have created a Cassandra cluster of 3 nodes and using a java program on= another machine to insert and read data. > > > Scenario I am testing is: > I bring up 3 nodes in a cluster, insert data into one of them, bring down= one node and try and read data. > > Ex: > Cluster : > NodeA > NodeB > NodeC > > I inserted data into NodeA successfully and read back from it or any othe= r node in cluster. Then I brought down NodeB and tried to read data again f= rom NodeA and NodeC it gives the following error: > org.apache.thrift.TApplicationException: Internal error processing get_sl= ice > =A0 =A0 =A0 =A0at org.apache.thrift.TApplicationException.read(TApplicati= onException.java:107) > =A0 =A0 =A0 =A0at org.apache.cassandra.service.Cassandra$Client.recv_get_= slice(Cassandra.java:121) > =A0 =A0 =A0 =A0at org.apache.cassandra.service.Cassandra$Client.get_slice= (Cassandra.java:100) > =A0 =A0 =A0 =A0at com.cassandra.VClient.get_slice(Unknown Source) > =A0 =A0 =A0 =A0at com.client.TestClient.main(TestClient.java:33) > > Shouldn't I be able to read data from any node even if I bring down the n= ode where I inserted data or some other nodes in the cluster? > > Thanks & Regards, > Shreya > > > DISCLAIMER > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > This e-mail may contain privileged and confidential information which is = the property of Persistent Systems Ltd. It is intended only for the use of = the individual or entity to which it is addressed. If you are not the inten= ded recipient, you are not authorized to read, retain, copy, print, distrib= ute or use this message. If you have received this communication in error, = please notify the sender and delete all copies of this message. Persistent = Systems Ltd. does not accept any liability for virus infected mails. >