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.