hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dnspies <davidnsp...@gmail.com>
Subject Concurrent calls to waitForCompletion cause ClassCastException
Date Thu, 22 Dec 2011 10:53:45 GMT

When running a program which runs concurrent map-reduce jobs, I get a
ClassCastException if I use waitForCompletion.  (Not with submit, but I do
need the threads to wait for the jobs to complete.  Is there a way to do
that with submit?)

This example  http://old.nabble.com/file/p33022696/Main.java Main.java 
tends to throw

java.lang.ClassCastException:
org.apache.hadoop.mapreduce.lib.input.FileSplit cannot be cast to
org.apache.hadoop.mapred.InputSplit
	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:411)
	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:371)
	at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:210)
-- 
View this message in context: http://old.nabble.com/Concurrent-calls-to-waitForCompletion-cause-ClassCastException-tp33022696p33022696.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.


Mime
View raw message