incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Hanna <>
Subject Re: Create CF in Mapper's setup
Date Tue, 21 Dec 2010 14:48:46 GMT
Download the source version of the latest 0.7 from and
take a look at the contrib/word_count example.  Specifically, in the contrib/word_count/src/
file, there are examples of how to create a column family using thrift.

On Dec 21, 2010, at 8:00 AM, wrote:

> I'd like to have a Hadoop MapReduce job create a column family in the
> setup() method of the Mapper, if it doesn't already exist. How would I do
> that correctly? I thought of using CassandraServer's methods (which is a
> bit of a hack, I know), but they are private, so I suppose there is a
> better way. Any help?
> Alexander Altanis

View raw message