Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 65560 invoked from network); 26 May 2010 14:38:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 May 2010 14:38:36 -0000 Received: (qmail 34188 invoked by uid 500); 26 May 2010 14:38:35 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 34170 invoked by uid 500); 26 May 2010 14:38:35 -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 34159 invoked by uid 99); 26 May 2010 14:38:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 14:38:35 +0000 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=AWL,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.221.192] (HELO mail-qy0-f192.google.com) (209.85.221.192) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 May 2010 14:38:31 +0000 Received: by qyk30 with SMTP id 30so9059261qyk.16 for ; Wed, 26 May 2010 07:38:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.35.3 with SMTP id n3mr4963214qad.169.1274884689771; Wed, 26 May 2010 07:38:09 -0700 (PDT) Received: by 10.229.94.203 with HTTP; Wed, 26 May 2010 07:38:09 -0700 (PDT) In-Reply-To: <398D2E97-F49D-451B-91B0-6AF13F4A366C@tynt.com> References: <1274113053.3603.15.camel@erebus.lan> <398D2E97-F49D-451B-91B0-6AF13F4A366C@tynt.com> Date: Wed, 26 May 2010 07:38:09 -0700 Message-ID: Subject: Re: Avro Example Code From: Jeff Hammerbacher To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=00c09f9c9c8a103fe704878039af --00c09f9c9c8a103fe704878039af Content-Type: text/plain; charset=ISO-8859-1 I've got a mostly working Avro server and client for HBase at http://github.com/hammer/hbase-trunk-with-avro and http://github.com/hammer/pyhbase. If you replace "scan" with "slice", it shouldn't be too much different for Cassandra... On Mon, May 17, 2010 at 10:31 AM, Wellman, David wrote: > I spent the weekend working with avro and some java junit tests. I still > have a lot of learning to do, but if others would like to use, add to or > improve upon the tests then I would appricate the feedback and help. > > David Wellman > > > On May 17, 2010, at 10:16 AM, "Eric Evans" wrote: > > On Fri, 2010-05-14 at 14:52 -0600, David Wellman wrote: >> >>> Does anyone have a good link or example code that we can use to spike on >>> Avro with Cassandra? >>> >> >> If you're using Python, the best place to look is the functional tests >> (see test/system), otherwise, Patrick's quick start >> (http://bit.ly/32T6Mk). >> >> As Gary mentioned already, it's still very rough. After all the recent >> changes in trunk (dropping the keyspace arg, binary keys, etc), it's >> just barely back to a state where you can read/write, and only then via >> get/insert (i.e. no slicing, batch_mutate, etc). >> >> -- >> Eric Evans >> eevans@rackspace.com >> >> --00c09f9c9c8a103fe704878039af Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've got a mostly working Avro server and client for HBase at http://github.com/hamme= r/hbase-trunk-with-avro and http://github.com/hammer/pyhbase. If you replace "scan" wit= h "slice", it shouldn't be too much different for Cassandra..= .

On Mon, May 17, 2010 at 10:31 AM, Wellman, D= avid <david@tynt.com= > wrote:
I spent the weekend working with avro and some java junit tests. =A0I still= have a lot of learning to do, but if others would like to use, add to or i= mprove upon the tests then I would appricate the feedback and help.

David Wellman


On May 17, 2010, at 10:16 AM, "Eric Evans" <eevans@rackspace.com> wrote:=

On Fri, 2010-05-14 at 14:52 -0600, David Wellman wrote:
Does anyone have a good link or example code that we can use to spike on Av= ro with Cassandra?

If you're using Python, the best place to look is the functional tests<= br> (see test/system), otherwise, Patrick's quick start
(http://bit.ly/32T6Mk).

As Gary mentioned already, it's still very rough. After all the recent<= br> changes in trunk (dropping the keyspace arg, binary keys, etc), it's just barely back to a state where you can read/write, and only then via
get/insert (i.e. no slicing, batch_mutate, etc).

--
Eric Evans
eevans@rackspace.= com


--00c09f9c9c8a103fe704878039af--