adspace


How to specify more than one directory as input to the MapReduce Job?

Answer Posted / Mridul Mayank

To specify more than one directory as input to a MapReduce job, you can use the FileInputFormat.setInputPaths(JobContext, Path[]) method and pass an array of Path objects representing the directories.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category