You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by schnitzi <ma...@fastsearch.com> on 2008/07/15 03:08:27 UTC

Setting inputs in configure()

I have some mapping jobs that are chained together, and would like to set the
inputs for them in an overridden configure(JobConf) method.  When I try to
do it this way, though, I get an error like this:

aggregatorJob failed: java.io.IOException: No input paths specified in input
	at
org.apache.hadoop.mapred.FileInputFormat.validateInput(FileInputFormat.java:173)
	at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:705)
	at org.apache.hadoop.mapred.jobcontrol.Job.submit(Job.java:347)
	at
org.apache.hadoop.mapred.jobcontrol.JobControl.startReadyJobs(JobControl.java:247)
	at org.apache.hadoop.mapred.jobcontrol.JobControl.run(JobControl.java:279)
	at java.lang.Thread.run(Thread.java:619)

If I add dummy input paths initially, though, then let them get overridden
in my configure() method, it works fine.  Am I doing something wrong?  Is
this bad practice?  It would seem to me that, internally, it should be
calling the (potentially overridden) configure() method before validating
the inputs.


Thanks
Mark
-- 
View this message in context: http://www.nabble.com/Setting-inputs-in-configure%28%29-tp18456290p18456290.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.