incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Evans <>
Subject Re: One Code Organization Puzzle From A Newbie
Date Mon, 20 Dec 2010 17:27:34 GMT
On Tue, 2010-12-21 at 00:21 +0800, Zhijie Shen wrote:
> I'm a graduate student from NUS, and am interested in Cassandra
> project. Recently, I began to get familiar with this project and wish
> to deliver some contribution to it if possible. Therefore, I wonder
> whether a student with little open source experience is welcome here
> or not.

Everyone is welcome.

> Currently, I'm going through the codes to have a big picture of this
> project. I happened to find a issue with the code organization: A
> bunch of avro codes in ${basedir}/interface/avro/gen-java are
> generated when building the project. However, these codes are neither
> compiled nor packed in the source release package. 

This is intentional.  Since this is generated code, the Real source is

In a perfect world we'd do the same for Thrift, but since that would
make the Thrift compiler a build dependency (requiring everyone who
builds from source to build the Thrift compiler from source), we commit
the generated source to SVN and ship it in the source artifacts.

> So, what are these codes for? I don't see the avro-based client for
> Cassandra. 

They're used to implement the Avro-based RPC interface.  "Clients" are
implemented in Avro which can be downloaded from that project's site
(  FWIW, this is the same for Thrift.

Eric Evans

View raw message