incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yang Song <xfil...@gmail.com>
Subject Cassandra 1.20 with Cloudera Hadoop (CDH4) Compatibility Issue
Date Sat, 16 Feb 2013 03:05:48 GMT
Hi,

Does anyone use CDH4's Hadoop with Cassandra to interact? The goal is
simply read/write to Cassandra from Hadoop direclty using
ColumnFamilyInput(Output)Format, but seems a bit compatibility issue. There
are two java exceptions

1. java.lang.IncompatibleClassChangeError: Found interface
org.apache.hadoop.mapreduce.JobContext, but class was expected
This shows when I run hadoop jar file to read directly from Cassandra.
Seems that there is a change on Hadoop that JobContext was changed from
class to interface. Has anyone have similar issue?
Does it mean the Hadoop version in CDH4 is old?

2. Another error is java.lang.NoSuchMethodError:
org.apache.cassandra.hadoop.ConfigHelper.setRpcPort(Lorg/apache/hadoop/conf/Configuration;Ljava/lang/String;)V
This shows when the jar file contains rpc port for remote Cassandra cluster.

Does anyone have similiar experience? Any comments are welcome. thanks!

Mime
View raw message