Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 31680 invoked from network); 18 Aug 2010 07:04:32 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Aug 2010 07:04:32 -0000 Received: (qmail 79487 invoked by uid 500); 18 Aug 2010 07:04:31 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 79263 invoked by uid 500); 18 Aug 2010 07:04:27 -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 79254 invoked by uid 99); 18 Aug 2010 07:04:26 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 07:04:26 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.215.44] (HELO mail-ew0-f44.google.com) (209.85.215.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 07:04:05 +0000 Received: by ewy22 with SMTP id 22so126089ewy.31 for ; Wed, 18 Aug 2010 00:03:44 -0700 (PDT) Received: by 10.216.50.18 with SMTP id y18mr1628201web.113.1282115024212; Wed, 18 Aug 2010 00:03:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.234.219 with HTTP; Wed, 18 Aug 2010 00:03:24 -0700 (PDT) In-Reply-To: <4C6B7E17.7030900@gmail.com> References: <4C69AA01.2070209@gmail.com> <4C69DBF3.6040007@gmail.com> <4C6A0759.3030603@gmail.com> <4C6A0A09.7070308@gmail.com> <4C6AAB48.5060501@gmail.com> <4C6B7E17.7030900@gmail.com> From: Benjamin Black Date: Wed, 18 Aug 2010 00:03:24 -0700 Message-ID: Subject: Re: Cassandra gem To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org great, thanks! On Tue, Aug 17, 2010 at 11:30 PM, Mark wrote: > =A0On 8/17/10 5:44 PM, Benjamin Black wrote: >> >> Updated code is now in my master branch, with the reversion to 10.0.0. >> =A0Please let me know of further trouble. >> >> >> b >> >> On Tue, Aug 17, 2010 at 8:31 AM, Mark =A0wrot= e: >>> >>> =A0On 8/16/10 11:37 PM, Benjamin Black wrote: >>>> >>>> I'm testing with the default cassandra.yaml. >>>> >>>> I cannot reproduce the output in that gist, however: >>>> >>>>>> thrift_client =3D client.instance_variable_get(:@client) >>>> >>>> =3D> =A0 =A0nil >>>> Also, the Thrift version for 0.7 is 11.0.0, according to the code I >>>> have. =A0Can someone comment on whether 0.7 beta1 is at Thrift interfa= ce >>>> version 10.0.0 or 11.0.0? >>>> >>>> >>>> b >>>> >>>> On Mon, Aug 16, 2010 at 9:03 PM, Mark >>>> =A0wrote: >>>>> >>>>> =A0On 8/16/10 8:51 PM, Mark wrote: >>>>>> >>>>>> =A0On 8/16/10 6:19 PM, Benjamin Black wrote: >>>>>>> >>>>>>> client =3D Cassandra.new('system', '127.0.0.1:9160') >>>>>> >>>>>> Brand new download of beta-0.7.0-beta1 >>>>>> >>>>>> http://gist.github.com/528357 >>>>>> >>>>>> Which thrift/thrift_client versions are you using? >>>>> >>>>> FYI also tested similar setup on another machine and same results. Is >>>>> there >>>>> any configuration change I need in cassandra.yaml or something? >>>>> >>> thrift_client =3D client.instance_variable_get(:@client) >>> >>> The above client will only be instantiated after making (or attempting = in >>> my >>> case) a request. >>> >>> > Works like a charm. Thanks >