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 0EB3C10204 for ; Fri, 29 Nov 2013 01:56:17 +0000 (UTC) Received: (qmail 258 invoked by uid 500); 29 Nov 2013 01:56:14 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 226 invoked by uid 500); 29 Nov 2013 01:56:14 -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 218 invoked by uid 99); 29 Nov 2013 01:56:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Nov 2013 01:56:14 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,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.160.47] (HELO mail-pb0-f47.google.com) (209.85.160.47) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Nov 2013 01:56:09 +0000 Received: by mail-pb0-f47.google.com with SMTP id um1so13427319pbc.6 for ; Thu, 28 Nov 2013 17:55:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:message-id:mime-version :subject:date:references:to:in-reply-to; bh=CsWQtHJMYrPa7R6SR0ucGp+Ziuv28SJp20zhoVwZ39c=; b=OJ5Eh95OhXzkiTAk6nXxTKiLUgdmbvGa1FMc9xK4cC1lc0WmKNWI1/K+br1QZf6JXS J82FZLun8/0eRUcQdwfcNuTJanfPl4fsjk6Egn2BDcM5/Er/HwzFA/geLe79j3dSSJ5t yR+Z5L3BCBfUkHGvGPz/r4+3BbqZgNR0u2SEfcE3JfoX6gsb8wDQgmUFFac0jq9vO1SD EDpkaKbxIGiijB1JIVlrQhnZsTyQFf4oFETruCXQyo1Loh3Tj+3Vs0pUZ2z5uixcPbnf JM6ssjDwD8ncsMunEDG9eR5rSBr32M19sBXoBDffN4Uzlsgm6OX1T8sEhh04T4Mi2BKC 2lOg== X-Gm-Message-State: ALoCoQkrMMTm8NHfhH6dCLeBqRmp3i87YqPgxkuZNEhfqT6uPbnEqUmF9rRzYOQRiCBU5dJ1r5mF X-Received: by 10.68.130.169 with SMTP id of9mr13623753pbb.79.1385690148903; Thu, 28 Nov 2013 17:55:48 -0800 (PST) Received: from [172.20.10.4] ([118.149.215.227]) by mx.google.com with ESMTPSA id sd3sm98210590pbb.42.2013.11.28.17.55.45 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 28 Nov 2013 17:55:48 -0800 (PST) From: Aaron Morton Content-Type: multipart/alternative; boundary="Apple-Mail=_2CB52DC5-E6B8-4BC9-A025-59EACA66C956" Message-Id: <7C48369B-A2EC-4BC2-ACE0-B4303262E146@thelastpickle.com> Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: Multiple writers writing to a cassandra node... Date: Fri, 29 Nov 2013 14:55:41 +1300 References: To: Cassandra User In-Reply-To: X-Mailer: Apple Mail (2.1822) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_2CB52DC5-E6B8-4BC9-A025-59EACA66C956 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 > I am a newbie to the Cassandra world. I would like to know if its = possible for two different nodes to write to a single Cassandra node >=20 Yes.=20 > Currently, I am getting a IllegalRequestException, what (): Default = TException on the first system,=20 >=20 >=20 What is the full error stack ?=20 > Occasionally, also hitting "frame size has negative value" thrift = exception when the traffic is high and packets are getting stored very = fast. >=20 >=20 On the client or the server ? Can you post the full error stack ?=20 > Currently using Cassandra 2.0.0 with libQtCassandra library. >=20 >=20 Please upgrade to 2.0.3.=20 Cheers ----------------- Aaron Morton New Zealand @aaronmorton Co-Founder & Principal Consultant Apache Cassandra Consulting http://www.thelastpickle.com On 26/11/2013, at 4:42 am, Krishna Chaitanya = wrote: > Hello, > I am a newbie to the Cassandra world. I would like to know if its = possible for two different nodes to write to a single Cassandra node. I = have a packet collector software which runs in two different systems. I = would like both of them to write the packets to a single node(same = keyspace and columnfamily). Currently using Cassandra 2.0.0 with = libQtCassandra library. > Currently, I am getting a = IllegalRequestException, what (): Default TException on the first = system, the moment I try to store from the second system, but the = second system works fine. When I restart the program on the first = system, the second system gets the exception and the first one works = fine. Occasionally, also hitting "frame size has negative value" thrift = exception when the traffic is high and packets are getting stored very = fast. > Can someone please point out what I am doing wrong? Thanks in = advance.. >=20 --Apple-Mail=_2CB52DC5-E6B8-4BC9-A025-59EACA66C956 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1

   I am a = newbie to the Cassandra world. I would like to know if its possible for = two different nodes to write to a single Cassandra = node

Yes. 

 Currently, I am getting a = IllegalRequestException, what (): Default TException on the first = system, 


What is the full error = stack ? 


Occasionally, also hitting "frame size has negative = value" thrift exception when the traffic is high and packets are getting = stored very fast.


On the client or the = server ? Can you post the full error stack = ? 

Currently = using Cassandra 2.0.0 with libQtCassandra = library.


Please upgrade to = 2.0.3. 

Cheers

http://www.thelastpickle.com

On 26/11/2013, at 4:42 am, Krishna Chaitanya <bnsk1990rulz@gmail.com> = wrote:

Hello,
   I am a newbie to the Cassandra world. I would like to know = if its possible for two different nodes to write to a single Cassandra = node. I have a packet collector software which runs in two different = systems. I would like both of them to write the packets to a single = node(same keyspace and columnfamily). Currently using Cassandra 2.0.0 = with libQtCassandra library.
=             &n= bsp;           &nbs= p;    Currently, I am getting a IllegalRequestException, = what (): Default TException on the first system,  the moment I try = to store from the second system, but the second system works fine. When = I restart the program on the first system, the second system gets the = exception and the first one works fine. Occasionally, also hitting = "frame size has negative value" thrift exception when the traffic is = high and packets are getting stored very fast.
  Can someone please point out what I am doing wrong?  Thanks = in advance..


= --Apple-Mail=_2CB52DC5-E6B8-4BC9-A025-59EACA66C956--