Return-Path: X-Original-To: apmail-cassandra-client-dev-archive@minotaur.apache.org Delivered-To: apmail-cassandra-client-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B47DF3E64 for ; Thu, 28 Apr 2011 03:36:45 +0000 (UTC) Received: (qmail 91497 invoked by uid 500); 28 Apr 2011 03:36:44 -0000 Delivered-To: apmail-cassandra-client-dev-archive@cassandra.apache.org Received: (qmail 91124 invoked by uid 500); 28 Apr 2011 03:36:41 -0000 Mailing-List: contact client-dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: client-dev@cassandra.apache.org Delivered-To: mailing list client-dev@cassandra.apache.org Received: (qmail 91116 invoked by uid 99); 28 Apr 2011 03:36:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 03:36:40 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of robertj@promedicalinc.com designates 97.66.157.146 as permitted sender) Received: from [97.66.157.146] (HELO zixvpm01.promedicalinc.com) (97.66.157.146) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Apr 2011 03:36:33 +0000 Received: from zixvpm01.promedicalinc.com (ZixVPM [127.0.0.1]) by Outbound.promedicalinc.com (Proprietary) with ESMTP id BBB2C19D80BA for ; Wed, 27 Apr 2011 22:56:03 -0400 (EDT) Received: from mail.promedicalinc.com (mail.promedicalinc.com [97.66.157.136]) by zixvpm01.promedicalinc.com (Proprietary) with ESMTP id 616C019D80B9; Wed, 27 Apr 2011 22:56:02 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.promedicalinc.com (Postfix) with ESMTP id 8A984E52003; Wed, 27 Apr 2011 23:36:45 -0400 (EDT) X-Virus-Scanned: amavisd-new at promedicalinc.com Received: from mail.promedicalinc.com ([127.0.0.1]) by localhost (mail.promedicalinc.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MJgFUN51in4s; Wed, 27 Apr 2011 23:36:43 -0400 (EDT) Received: from mail.promedicalinc.com (mail.promedicalinc.com [97.66.157.136]) by mail.promedicalinc.com (Postfix) with ESMTP id 0EDEFE52001; Wed, 27 Apr 2011 23:36:43 -0400 (EDT) Date: Wed, 27 Apr 2011 23:36:42 -0400 (EDT) From: Robert Jackson To: client-dev@cassandra.apache.org, users@cassandra.apache.org Message-ID: <441824231.70374.1303961802775.JavaMail.root@mail> In-Reply-To: <1202268039.65325.1303534682999.JavaMail.root@mail> Subject: Re: Updating cassandra RubyGem for 0.8 & CQL MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_70373_1575725005.1303961802774" X-Originating-IP: [98.190.40.191] X-Mailer: Zimbra 6.0.8_GA_2661 (ZimbraWebClient - FF3.0 (Mac)/6.0.8_GA_2661) X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_70373_1575725005.1303961802774 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit I have just finished these updates. The following changes/new features have been made: * Update Rakefile to install 0.6.13, 0.7.4, 0.8.0-beta1 to ~/cassandra/cassandra-VERSION * Add data:load task to Rakefile for creating the schema required for the tests * Default the Rakefile to use 0.8-beta1 * Setup test suite to work on 0.6.13, 0.7.4, and 0.8.0-beta1 * All tests pass for all supported (0.6.13, 0.7.4, 0.8.0-beta1) versions. * Added Support for 0.8-beta1 * Changed get_index_slices to return a hash of rows * Updated Cassandra::Mock to pass all tests for each Cassandra version Please review my changes at: https://github.com/rjackson/cassandra I have submitted a pull request to the main fauna/cassandra repo on Github. The next round of updates will be to add an additional "version" for CQL. Robert Jackson ----- Original Message ----- From: "Robert Jackson" To: client-dev@cassandra.apache.org Sent: Saturday, April 23, 2011 12:58:03 AM Subject: Updating cassandra RubyGem for 0.8 & CQL I have been working on a local fork of the fauna/cassandra rubygem to add support for 0.8. I am a relative newcomer to Cassandra in general, and working on the internals of the client has really helped. To make sure that I didn't loose any ground with other versions of Cassandra, I updated the test suite so that it can run tests against 0.6, 0.7, and 0.8. This works by setting a CASSANDRA_VERSION env variable before calling the normal rake or bin/cassandra_helper scripts. Run the cassandra version with: CASSANDRA_VERSION=0.8 rake cassandra Then you can run the tests with: CASSANDRA_VERSION=0.8 rake I still have a ways to go with getting all the tests passing, but at this point 0.8 and 0.6 have around 6 failures and 8 errors. (I am struggling with an schema loading issue with 0.7.4.) I hope to have the tests all passing in the next couple of days, and hopefully we can get the changes pushed upstream. Then I am going to start fleshing out the CQL version (which hopefully shouldn't be such a moving target between Cassandra versions). I would certainly appreciate any feedback on my work so far. https://github.com/rjackson/cassandra/tree/cassandra_0.8 Robert Jackson ------=_Part_70373_1575725005.1303961802774--