incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Minearo" <Peter.Mine...@Reardencommerce.com>
Subject RE: Cassandra and Avro
Date Tue, 29 Jun 2010 21:33:50 GMT
Is there any way to get a description on these generated classes.  I see
they are similar to the Thrift set of classes; but there seems to be
some differences; especially with the Cassandra class.
 

-----Original Message-----
From: Roger Schildmeijer [mailto:schildmeijer@gmail.com] 
Sent: Tuesday, June 29, 2010 1:28 PM
To: user@cassandra.apache.org
Subject: Re: Cassandra and Avro

The (16-4) classes are generated in the ant build script. (In the binary
distribution these are already generated for you).

// Roger Schildmeijer 

On 29 jun 2010, at 21.41em, Peter Minearo wrote:

> I just pulled down Cassandra 0.6.3.  I saw this same issue in 0.6.2.
Why is there a difference between apache-cassandra-0.6.3-bin.jar and
apache-cassandra-0.6.3-src.jar when it comes to the Avro classes?  The
'bin' file has 16 top level classes; while the 'src' file only has 4.
Even the Javadocs only show the 4 classes. 
> 
> What gives?  
> 
>> jar -tvf apache-cassandra-0.6.3/lib/apache-cassandra-0.6.3.jar | grep

>> avro
>     0 Fri Jun 25 17:32:50 PDT 2010 org/apache/cassandra/avro/
>  5615 Fri Jun 25 17:32:50 PDT 2010 
> org/apache/cassandra/avro/AvroValidation.class
>  4494 Fri Jun 25 17:32:56 PDT 2010 
> org/apache/cassandra/avro/Cassandra.class
>  1409 Fri Jun 25 17:32:50 PDT 2010 
> org/apache/cassandra/avro/CassandraDaemon$1.class
>  5206 Fri Jun 25 17:32:50 PDT 2010 
> org/apache/cassandra/avro/CassandraDaemon.class
>  1074 Fri Jun 25 17:32:50 PDT 2010 
> org/apache/cassandra/avro/CassandraServer$1.class
> 15564 Fri Jun 25 17:32:50 PDT 2010 
> org/apache/cassandra/avro/CassandraServer.class
>  1767 Fri Jun 25 17:32:56 PDT 2010 
> org/apache/cassandra/avro/Column.class
>  2043 Fri Jun 25 17:32:56 PDT 2010 
> org/apache/cassandra/avro/ColumnOrSuperColumn.class
>  1790 Fri Jun 25 17:32:56 PDT 2010 
> org/apache/cassandra/avro/ColumnPath.class
>  1334 Fri Jun 25 17:32:56 PDT 2010 
> org/apache/cassandra/avro/ConsistencyLevel.class
>  2266 Fri Jun 25 17:32:50 PDT 2010 
> org/apache/cassandra/avro/ErrorFactory.class
>  1566 Fri Jun 25 17:32:56 PDT 2010
org/apache/cassandra/avro/InvalidRequestException.class
>   493 Fri Jun 25 17:32:50 PDT 2010 
> org/apache/cassandra/avro/KeyspaceNotDefinedException.class
>  1542 Fri Jun 25 17:32:56 PDT 2010 
> org/apache/cassandra/avro/NotFoundException.class
>  2836 Fri Jun 25 17:32:50 PDT 2010 
> org/apache/cassandra/avro/RecordFactory.class
>  1940 Fri Jun 25 17:32:56 PDT 2010 
> org/apache/cassandra/avro/SuperColumn.class
>  1542 Fri Jun 25 17:32:56 PDT 2010 
> org/apache/cassandra/avro/TimedOutException.class
>  1554 Fri Jun 25 17:32:56 PDT 2010 
> org/apache/cassandra/avro/UnavailableException.class
> 
> ll apache-cassandra-0.6.3-src/src/java/org/apache/cassandra/avro/
> total 40K
> -rw-r--r-- 1 pminearo domain users 6.0K 2010-06-25 15:31 
> AvroValidation.java
> -rw-r--r-- 1 pminearo domain users 5.2K 2010-06-25 15:31 
> CassandraDaemon.java
> -rw-r--r-- 1 pminearo domain users  13K 2010-06-25 15:31 
> CassandraServer.java
> -rw-r--r-- 1 pminearo domain users 1.2K 2010-06-25 15:31 
> KeyspaceNotDefinedException.java
> -rw-r--r-- 1 pminearo domain users 3.8K 2010-06-25 15:31 
> RecordFactory.java
> 
> 


Mime
View raw message