Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Avro, mail # user - Re: avro 1.7.0 with CDH4


+
Jacob Metcalf 2012-07-05, 12:12
+
Garrett Wu 2012-07-16, 16:55
Copy link to this message
-
avro 1.7.0 with CDH4
Alan Miller 2012-07-05, 09:45
Thanks for the 1.7.0 release.
I was waiting for AVRO-593 so I can use the new mapreduce API with Avro.

Previously, I was using avro-1.6.3 and odiago-avro-1.0.7.jar
and everything was working. My driver class writes Avro files on HDFS
and triggers an AvroJob to process them.

I recompiled my code with avro-1.7.0 (and removed odiago-avro) but now I get
the error below. I know this list is about Avro and not odiago-avro
integration but
is AvroKeyInputFormat from avro-1.7.0-tools compatible with odiago's?
2012-07-05 02:21:10,068 FATAL org.apache.hadoop.mapred.Child: Error running
child : java.lang.IncompatibleClassChangeError: Found interface
org.apache.hadoop.mapreduce.TaskAttemptContext, but class was expected
at
org.apache.avro.mapreduce.AvroKeyInputFormat.createRecordReader(AvroKeyInputFormat.java:46)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:617)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:325)
at org.apache.hadoop.mapred.Child$4.run(Child.java:270)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at
org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1232)
at org.apache.hadoop.mapred.Child.main(Child.java:264)

--
View this message in context: http://apache-avro.679487.n3.nabble.com/avro-1-7-0-with-CDH4-tp4025149.html
Sent from the Avro - Users mailing list archive at Nabble.com.
+
Alan Miller 2012-07-05, 11:02
+
Jacob Metcalf 2012-07-16, 17:11