Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 5009 invoked from network); 21 May 2010 15:40:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 May 2010 15:40:50 -0000 Received: (qmail 31096 invoked by uid 500); 21 May 2010 15:40:49 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 31055 invoked by uid 500); 21 May 2010 15:40:49 -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 31047 invoked by uid 99); 21 May 2010 15:40:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 May 2010 15:40:49 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.161.44] (HELO mail-fx0-f44.google.com) (209.85.161.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 May 2010 15:40:42 +0000 Received: by fxm12 with SMTP id 12so1025976fxm.31 for ; Fri, 21 May 2010 08:40:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.166.79 with SMTP id a15mr159087hbe.3.1274456422052; Fri, 21 May 2010 08:40:22 -0700 (PDT) Received: by 10.239.177.198 with HTTP; Fri, 21 May 2010 08:40:21 -0700 (PDT) In-Reply-To: References: Date: Fri, 21 May 2010 17:40:21 +0200 Message-ID: Subject: Re: Cause possible for a "cound not connect" TTransportException.NOT_OPEN , during load datas ? From: xavier manach To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001485f0acec51738904871c82ce X-Virus-Checked: Checked by ClamAV on apache.org --001485f0acec51738904871c82ce Content-Type: text/plain; charset=ISO-8859-1 Thanks. You resolved my Problem. My error : I didn't see transport.open, open a new socket for each call. I did think it's reuse the same one. 2010/5/20 Jonathan Ellis > "disseminating load info" is not related to your problem. > > certainly you should be using connection pooling rather than opening a > ton of sockets. > > You didn't say what CL you are using, but you should not use CL.ZERO > for load tests. > > On Thu, May 20, 2010 at 11:14 AM, xavier manach wrote: > > Hi. > > > > I am neebie in Cassandra. I study and compare performance of databases > for > > choose my future architecture. > > > > I try to load a lot of datas in cassandra. > > I use python with protocol thrift (very simple, whithout threading) > > I do sequentials requests : client.batch_mutate and client.get_slice. > > (around 1M mutate y 0.3M get mixed for 10 columns family) > > I didn't wait between each request. > > I use only one node (I have the same probleme with 2 nodes) > > > > It's start fine, but in the middle of the load > > during an transport.open() > > I have this exception : > > TTransportException.NOT_OPEN error > > with the message : could not connect to : > > > > The server didn't respond for seconds ( between 1 and 30) > > After, it's work again... > > > > I turn the log to DEBUG, > > When the server did'nt respond, I have this message : > > Disseminating load info... > > Whats mean this ? > > > > I had forget something ? What is wrong ? > > How avoid it ? > > > > > > Thanks for your help. > > > > > > > > -- > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder of Riptano, the source for professional Cassandra support > http://riptano.com > --001485f0acec51738904871c82ce Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks.
You resolved my Problem.

My error :
=A0 I didn't s= ee transport.open, open a new socket for each call.
I did think it's= reuse the same one.




2010/5/2= 0 Jonathan Ellis <jbellis@gmail.com>
"disseminati= ng load info" is not related to your problem.

certainly you should be using connection pooling rather than opening a
ton of sockets.

You didn't say what CL you are using, but you should not use CL.ZERO for load tests.

On Thu, May 20, 2010 at 11:14 AM, xavier manach <xav@tekio.org> wrote:
> Hi.
>
> =A0 I am neebie in Cassandra. I study and compare performance of datab= ases for
> choose my future architecture.
>
> =A0 I try to load a lot of datas in cassandra.
> I use python with protocol thrift (very simple, whithout threading) > I do sequentials requests : client.batch_mutate and client.get_slice.<= br> > (around 1M mutate y 0.3M get mixed for 10 columns family)
> I didn't wait between each request.
> I use only one node (I have the same probleme with 2 nodes)
>
> =A0 It's start fine, but in the middle of the load
> during=A0 an=A0 transport.open()
> I have this exception=A0 :
> =A0 TTransportException.NOT_OPEN error
> with the message : could not connect to <IP>:<PORT>
>
> =A0 The server didn't respond for seconds ( between 1 and 30)
> After,=A0 it's work again...
>
> =A0 I turn the log to DEBUG,
> When the server did'nt respond, I have this message :
> =A0 Disseminating load info...
> =A0Whats mean this ?
>
> =A0 I had forget something ? What is wrong ?
> How avoid it ?
>
>
> Thanks for your help.
>
>



--
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

--001485f0acec51738904871c82ce--