incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Valencia <jvalen...@sharethis.com>
Subject Re: Using Cassandra BulkOuputFormat With newer versions of Hadoop (.23+)
Date Sat, 22 Sep 2012 19:50:42 GMT
I'm not sure, but I think 1.0.3 is the wrong branch:
http://f.cl.ly/items/2z1q1k3Q402L2z061S3m/Apache%20Hadoop%20Versions.png
I need the branch that goes down .22 to .23
The problem is
"You lose binary backward compatibility....
Exception in thread "main" java.lang.IncompatibleClassChangeError: Found
interface org.apache.hadoop.mapreduce.JobContext, but class was expected
at
org.apache.cassandra.hadoop.BulkOutputFormat.checkOutputSpecs(BulkOutputFormat.java:42)"

On Fri, Sep 21, 2012 at 10:13 PM, Dave Brosius <dbrosius@mebigfatguy.com>wrote:

> I swapped in hadoop-core-1.0.3.jar and rebuilt cassandra, without issues.
> What problems where you having?
>
>
>
> On 09/21/2012 07:40 PM, Juan Valencia wrote:
>
>>
>> I can't seem to get Bulk Loading to Work in newer versions of Hadoop.
>> since they switched JobContext from a class to an interface
>> You lose binary backward compatibility....
>> Exception in thread "main" java.lang.**IncompatibleClassChangeError:
>> Found interface org.apache.hadoop.mapreduce.**JobContext, but class was
>> expected
>> at org.apache.cassandra.hadoop.**BulkOutputFormat.**checkOutputSpecs(**
>> BulkOutputFormat.java:42)
>>
>> I tried recompiling against the newer Hadoop, but things got messy fast.
>>  Has anyone done this?
>>
>
>


-- 

Learn More:  SQI (Social Quality Index) - A Universal Measure of Social
Quality

Mime
View raw message