Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 9949 invoked from network); 28 Apr 2010 12:15:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Apr 2010 12:15:55 -0000 Received: (qmail 64420 invoked by uid 500); 28 Apr 2010 12:15:54 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 64406 invoked by uid 500); 28 Apr 2010 12:15:54 -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 64398 invoked by uid 99); 28 Apr 2010 12:15:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 12:15:54 +0000 X-ASF-Spam-Status: No, hits=-0.2 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 74.125.82.172 as permitted sender) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Apr 2010 12:15:49 +0000 Received: by wyb35 with SMTP id 35so4407550wyb.31 for ; Wed, 28 Apr 2010 05:15:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=S3a6a+OA2hIAcBpmZZzww/oO2LjT0jdF1GZyLXpUP4M=; b=mHmVj/XbsMp+my0oMCQrN4jsR9jLyUFejxewKaxENJVZjW/oAWXm38HVsXX5JvgIpP v4m2R5XHGlkW5oDpzh+fIS+Dajsf+0BjGII4rnXSehmQu8jbNrAJaZd9w+AuiD1nQu1z FmCwUAUXnotykhEClG4uxaw+8ZBCULDrbO7lU= 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 :cc:content-type:content-transfer-encoding; b=pyShq+n6TQsSKE5Q547bDmGKTvI0CYlhp9s3UPDVjGfD3EU/nrlTkeROsRpSk6I2sB EikuerJdU0UTSLlAy2DJxdgUTaeL283vgCEf2v4eAzY2kLiO4C2hX4x492gUTmNvdKYZ F8L/K9cKZ3grN+lFM3gnwzSjziIFCDT2fBEUw= Received: by 10.216.89.202 with SMTP id c52mr2916166wef.84.1272456928161; Wed, 28 Apr 2010 05:15:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.22.10 with HTTP; Wed, 28 Apr 2010 05:15:08 -0700 (PDT) In-Reply-To: <201004281308026747719@gmail.com> References: <201004271320185234997@gmail.com> <201004271721171837907@gmail.com> <201004281308026747719@gmail.com> From: Jonathan Ellis Date: Wed, 28 Apr 2010 07:15:08 -0500 Message-ID: Subject: Re: Re: Broken pipe To: Bingbing Liu Cc: user@cassandra.apache.org Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable did you check the log for exceptions? On Wed, Apr 28, 2010 at 12:08 AM, Bingbing Liu wrote: > but the situation is that ,at the beginning everything goes well, then wh= en > the get_range_slices gets about 13,000,000 rows (set the key range to 200= 0) > > the exception happens. > > and when i do the same thing on a smaller data set, no such thing happens= . > > 2010-04-28 > ________________________________ > Bingbing Liu > ________________________________ > =B7=A2=BC=FE=C8=CB=A3=BA Jonathan Ellis > =B7=A2=CB=CD=CA=B1=BC=E4=A3=BA 2010-04-27 20:51:11 > =CA=D5=BC=FE=C8=CB=A3=BA user > =B3=AD=CB=CD=A3=BA rucbing > =D6=F7=CC=E2=A3=BA Re: Broken pipe > get_range_slices works fine in the system tests, so something is wrong > on your client side. Some possibilities: > - sending to a non-Thrift port > - using an incompatible set of Thrift bindings than the one your > server supports > - mixing a framed client with a non-framed server or vice versa > [moving followups to user list] > 2010/4/27 Bingbing Liu : >> when i use get_range_slices, i get the exceptions , i don't know what ha= ppens >> >> hope someone can help me >> >> >> org.apache.thrift.transport.TTransportException: java.net.SocketExceptio= n: Broken pipe >> at org.apache.thrift.transport.TIOStreamTransport.write(TIOStreamTran= sport.java:142) >> at org.apache.thrift.protocol.TBinaryProtocol.writeI32(TBinaryProtoco= l.java:152) >> at org.apache.thrift.protocol.TBinaryProtocol.writeMessageBegin(TBina= ryProtocol.java:80) >> at org.apache.cassandra.thrift.Cassandra$Client.send_get_range_slices= (Cassandra.java:592) >> at org.apache.cassandra.thrift.Cassandra$Client.get_range_slices(Cass= andra.java:586) >> at org.clouddb.test.GrepSelect.main(GrepSelect.java:64) >> Caused by: java.net.SocketException: Broken pipe >> at java.net.SocketOutputStream.socketWrite0(Native Method) >> at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92= ) >> at java.net.SocketOutputStream.write(SocketOutputStream.java:136) >> at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java= :65) >> at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109) >> at org.apache.thrift.transport.TIOStreamTransport.write(TIOStreamTran= sport.java:140) >> ... 5 more >> >> >> 2010-04-27 >> >> >> >> Bingbing Liu >> > -- > Jonathan Ellis > Project Chair, Apache Cassandra > co-founder of Riptano, the source for professional Cassandra support > http://riptano.com --=20 Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com