cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Hanna <jeremy.hanna1...@gmail.com>
Subject Re: 0.7.0-beta2 and Hadoop
Date Thu, 14 Oct 2010 01:31:54 GMT
I would first see if the unmodified version of the word count example works for you.  Also,
I don't believe hadoop version 0.21 is meant for production use - it's more of a "let's get
0.21 release out the door so we can move on" type of release.  I would use either 0.20.2 from
the hadoop website, or perhaps the cloudera cdh2 (http://www.cloudera.com/downloads/) or yahoo
distribution (http://developer.yahoo.com/hadoop/distribution/).

On Oct 13, 2010, at 7:39 PM, Michael Moores wrote:

> What version of hadoop should i be using with cassandra 0.7.0-beta2?
> I am using the latest version 21.0.
> 
> Just running a modified version of the WordCount example:
> https://svn.apache.org/repos/asf/cassandra/trunk/contrib/word_count/src/
> 
> I get a linkage error thrown from the getSplits method.
> 
> Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext,
but class was expected
>         at org.apache.cassandra.hadoop.ColumnFamilyInputFormat.getSplits(ColumnFamilyInputFormat.java:88)
>         at org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:401)
>         at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:418)
>         at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:338)
>         at org.apache.hadoop.mapreduce.Job.submit(Job.java:960)
>         at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:976)


Mime
View raw message