Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 86305 invoked from network); 6 Aug 2010 16:58:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Aug 2010 16:58:09 -0000 Received: (qmail 93843 invoked by uid 500); 6 Aug 2010 16:58:07 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 93794 invoked by uid 500); 6 Aug 2010 16:58:07 -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 93786 invoked by uid 99); 6 Aug 2010 16:58:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Aug 2010 16:58:07 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of static.void.dev@gmail.com designates 209.85.160.44 as permitted sender) Received: from [209.85.160.44] (HELO mail-pw0-f44.google.com) (209.85.160.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Aug 2010 16:57:59 +0000 Received: by pwj2 with SMTP id 2so722246pwj.31 for ; Fri, 06 Aug 2010 09:57:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=Yzkl9+JgzjvyOIoV42aHRuf7dKqVadlfssx2YlwJjQc=; b=FhvX8d6K3tJ6wpjI7fh6vm7kI+bfGcKBMuT2xYcksbVvR5TqepSIeZynbE3KCR53yA AYC3pdgNJFHDCEj0getdKObEWCWVCxgLycQxoxDsoxRmPYHNQ4IseW21tABwcQMMaDX/ +4nKRyU/duNW+OOLsqapSLRXWYVd0rAlzDa/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=QBohVJzn2gS1qXWUNETLgYVTmDqh81lETreS1Bqd8PhLqAl3QSOFqca1NjETCY9Ar4 Y86lGSdXYx31odWY/rjR5+tSDazH2utxCGOJ95BN8YerlvOLA8W+uhiXfnPpUkeFFCEO 5WHODvSHpIG2O6lcwBDY7tUB6EXSKto38JOgA= Received: by 10.115.14.6 with SMTP id r6mr14392843wai.8.1281113858161; Fri, 06 Aug 2010 09:57:38 -0700 (PDT) Received: from Robert-Zotters-MacBook-Pro.local ([208.66.27.203]) by mx.google.com with ESMTPS id c24sm3152874wam.19.2010.08.06.09.57.36 (version=SSLv3 cipher=RC4-MD5); Fri, 06 Aug 2010 09:57:37 -0700 (PDT) Message-ID: <4C5C3EFF.6070308@gmail.com> Date: Fri, 06 Aug 2010 09:57:35 -0700 From: Mark User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 MIME-Version: 1.0 To: user@cassandra.apache.org Subject: Re: Cassandra 0.7 Ruby/Thrift Bindings References: <4C5C3C97.8060204@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Wow.. fast answer AND correct. In Cassandra.yml # Frame size for thrift (maximum field length). # 0 disables TFramedTransport in favor of TSocket. thrift_framed_transport_size_in_mb: 15 I just had to change that value to 0 and everything worked. Now for my follow up question :) What is the difference between these two and why does 0.7 default to true while earlier versions default to false? Thanks again! On 8/6/10 9:51 AM, Ryan King wrote: > Make sure the client and server are both using the same transport > (framed vs. non) > > -ryan > > On Fri, Aug 6, 2010 at 9:47 AM, Mark wrote: > >> Has anyone had any success using Cassandra 0.7 w/ ruby? I'm attempting to >> use the fauan/cassandra gem (http://github.com/fauna/cassandra/) which has >> explicit support for 0.7 but I keep receiving the following error message >> when making a request. >> >> Thrift::TransportException: end of file reached >> from >> /usr/local/lib/ruby/gems/1.8/gems/thrift-0.2.0.4/lib/thrift/transport/socket.rb:119:in >> `read' >> from >> /usr/local/lib/ruby/gems/1.8/gems/thrift-0.2.0.4/lib/thrift/transport/buffered_transport.rb:50:in >> `read' >> from >> /usr/local/lib/ruby/gems/1.8/gems/thrift-0.2.0.4/lib/thrift/transport/base_transport.rb:52:in >> `read_all' >> from >> /usr/local/lib/ruby/gems/1.8/gems/thrift-0.2.0.4/lib/thrift/protocol/binary_protocol.rb:186:in >> `read_i32' >> from >> /usr/local/lib/ruby/gems/1.8/gems/thrift-0.2.0.4/lib/thrift/protocol/binary_protocol.rb:111:in >> `read_message_begin' >> from >> /usr/local/lib/ruby/gems/1.8/gems/thrift-0.2.0.4/lib/thrift/client.rb:45:in >> `receive_message' >> ... >> >> Any ideas? Thanks >> >>