You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by David Wellman <da...@tynt.com> on 2010/05/14 22:52:00 UTC

Avro Example Code

Does anyone have a good link or example code that we can use to spike on Avro with Cassandra?

Cheers.

Re: Avro Example Code

Posted by Gary Dusbabek <gd...@gmail.com>.
Be warned: avro support is experimental and incomplete.

The avro system tests are probably the best place to start looking.
http://svn.apache.org/repos/asf/cassandra/trunk/test/system

Gary.

On Fri, May 14, 2010 at 15:52, David Wellman <da...@tynt.com> wrote:
> Does anyone have a good link or example code that we can use to spike on Avro with Cassandra?
>
> Cheers.

Re: Avro Example Code

Posted by David Wellman <da...@tynt.com>.
Fantastic! Thank you.

On May 26, 2010, at 8:38 AM, Jeff Hammerbacher wrote:

> 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 <da...@tynt.com> 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" <ee...@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 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
> 
> 


Re: Avro Example Code

Posted by Jeff Hammerbacher <ha...@cloudera.com>.
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 <da...@tynt.com> 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" <ee...@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
>>> 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
>>
>>

Re: Avro Example Code

Posted by "Wellman, David" <da...@tynt.com>.
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" <ee...@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 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
>

Re: Avro Example Code

Posted by Eric Evans <ee...@rackspace.com>.
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


Re: Avro Example Code

Posted by Patrick Hunt <ph...@apache.org>.
My Avro quickstart has an RPC example for various languages 
http://bit.ly/32T6Mk

Patrick

On 05/14/2010 01:52 PM, David Wellman wrote:
> Does anyone have a good link or example code that we can use to spike on Avro with Cassandra?
>
> Cheers.