sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wu YongBo" <w...@mediav.com>
Subject sqoop generate java class in old mapreduce API?
Date Thu, 08 Aug 2013 13:10:50 GMT
Hi All,

 

  I am using a java class generated by sqoop(1.4.2),  and I get the
following error:

 

2013-08-08 20:43:10,854 WARN org.apache.hadoop.mapred.TaskTracker: Error
running child

java.lang.ClassCastException: class com.a.semv.io.semreportbase_keyword

        at java.lang.Class.asSubclass(Class.java:3018)

        at
org.apache.hadoop.mapred.JobConf.getOutputKeyComparator(JobConf.java:599)

        at
org.apache.hadoop.mapred.MapTask$MapOutputBuffer.<init>(MapTask.java:791)

        at
org.apache.hadoop.mapred.MapTask$NewOutputCollector.<init>(MapTask.java:524)

        at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:613)

        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:305)

        at org.apache.hadoop.mapred.Child.main(Child.java:170)

 

My job is written in mapreduce new API.

My hadoop version:0.20.2

 

Thanks,

Yongbo

 


Mime
View raw message