hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aman <aman_d...@hotmail.com>
Subject Re: FileInputFormat.setInputPaths Problem
Date Fri, 10 Dec 2010 00:31:39 GMT

Rawan 
It would help if you post the full code here but from what I am seeing here,
looks like you are passing Configuation Object but the method takes the Job
object instead. 

Try replacing 
FileInputFormat.setInputPaths(conf, new Path("input")
by following lines 
Job job = new Job(conf);
FileInputFormat.setInputPaths(job, new Path("input")

It should work. 



-- 
View this message in context: http://lucene.472066.n3.nabble.com/FileInputFormat-setInputPaths-Problem-tp2018360p2061036.html
Sent from the Hadoop lucene-dev mailing list archive at Nabble.com.

Mime
View raw message