From user-return-29307-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Wed Oct 3 07:40:16 2012 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 2C20AD121 for ; Wed, 3 Oct 2012 07:40:16 +0000 (UTC) Received: (qmail 79606 invoked by uid 500); 3 Oct 2012 07:40:13 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 79399 invoked by uid 500); 3 Oct 2012 07:40:12 -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 79357 invoked by uid 99); 3 Oct 2012 07:40:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 07:40:11 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a42.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Oct 2012 07:40:06 +0000 Received: from homiemail-a42.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a42.g.dreamhost.com (Postfix) with ESMTP id 6866268C05F for ; Wed, 3 Oct 2012 00:39:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h=from :content-type:message-id:mime-version:subject:date:references:to :in-reply-to; s=thelastpickle.com; bh=1Q+3nrzI4lFvPRHfHy982gyckE 0=; b=Q8IaXAlkXUVYcVzzHXB4etFp4ZuvQl3A9IVMDj0vjqHGMbyYAE99WR53z3 6U3wJxAQinKPIZfoRWtwenSXn4qrS5hDyuleZNdU8Nkbjs5pDn/bvSfOV2xjdbHW LZE+MQ1218vwoJs6+zvVVcZhFsLxrOtlCx/rSmeE52ue/vikU= Received: from [172.16.1.10] (unknown [203.86.207.101]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a42.g.dreamhost.com (Postfix) with ESMTPSA id DBA6F68C05D for ; Wed, 3 Oct 2012 00:39:44 -0700 (PDT) From: aaron morton Content-Type: multipart/alternative; boundary="Apple-Mail=_3E55097C-AC52-46EC-97D1-C90D5EA4725C" Message-Id: Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Subject: Re: Persistent connection among nodes to communicate and redirect request Date: Wed, 3 Oct 2012 20:39:43 +1300 References: To: user@cassandra.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1498) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_3E55097C-AC52-46EC-97D1-C90D5EA4725C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 May end up with a local 9160 connection if you are using cassandra-cli, = cqlsh or hadoop on the node.=20 > I also observed that local write latency is around 30-40 microsecond, = while its takes around .5 miliseconds if the chosen node is not the node = responsible for the key for 50K QPS What CL ?=20 Cheers ----------------- Aaron Morton Freelance Developer @aaronmorton http://www.thelastpickle.com On 3/10/2012, at 4:57 AM, "Hiller, Dean" wrote: > Can you just use netstat and dig into the process id and do a ps -ef | > grep to clear up all the confusion. Doing so you can tell which > process communicates with which process(I am assuming you are on = linux=8A.on > MAC or windows it is different commands). >=20 > Then, just paste all that in the email to this list so we can see it. >=20 > MY GUESS is someone is running a tool that is talking thrift on your > cassandra node???? Maybe another server like a web server? >=20 > Later, > Dean >=20 > On 10/2/12 9:50 AM, "Nick Bailey" wrote: >=20 >> The comments here so far are correct. Cassandra itself will never = open >> a thrift connection. Thrift is only for clients. Not sure what = exactly >> you are seeing but I don't think it's cassandra. >>=20 >> On Tue, Oct 2, 2012 at 10:48 AM, Niteesh kumar = >> wrote: >>> not only a node make connection to other nodes. i can also see nodes >>> making >>> connection to itself on port 9160. >>>=20 >>>=20 >>>=20 >>> On Tuesday 02 October 2012 07:42 PM, Viktor Jevdokimov wrote: >>>>=20 >>>> not a thrift por >>>=20 >>>=20 >=20 --Apple-Mail=_3E55097C-AC52-46EC-97D1-C90D5EA4725C Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 May = end up with a local 9160 connection if you are using cassandra-cli, = cqlsh or hadoop on the node. 

 I also observed that local write latency is = around 30-40 microsecond, while its takes around .5 miliseconds if the = chosen node is not the node responsible for the key for 50K = QPS

What CL = ? 

Cheers

http://www.thelastpickle.com

On 3/10/2012, at 4:57 AM, "Hiller, Dean" <Dean.Hiller@nrel.gov> = wrote:

Can you just use netstat and dig into the process id and = do a ps -ef |
grep <pid> to clear up all the confusion. =  Doing so you can tell which
process communicates with which = process(I am assuming you are on linux=8A.on
MAC or windows it is = different commands).

Then, just paste all that in the email to = this list so we can see it.

MY GUESS is someone is running a tool = that is talking thrift on your
cassandra node????  Maybe another = server like a web server?

Later,
Dean

On 10/2/12 9:50 = AM, "Nick Bailey" <nick@datastax.com> = wrote:

The comments here so far are = correct. Cassandra itself will never open
a thrift connection. Thrift = is only for clients. Not sure what exactly
you are seeing but I don't = think it's cassandra.

On Tue, Oct 2, 2012 at 10:48 AM, Niteesh = kumar <niteesh.k@directi.com>
wro= te:
not only a node make connection to = other nodes. i can also see nodes
making
connection to itself on = port 9160.



On Tuesday 02 October 2012 07:42 PM, Viktor = Jevdokimov wrote:

not a thrift = por




= --Apple-Mail=_3E55097C-AC52-46EC-97D1-C90D5EA4725C--