If all the file in different path has the same format, then FileInputFormat is sufficient. If files in different path has different format , then I guest you may take a look at the MultipleInputs.
2009/6/15 HRoger <[email protected]> > > I'm sorry for my confusing description,It is job2 has to use two input > source > one from job1's output and another from anywhere. > > TimRobertson100 wrote: > > > > Hi > > > > I am not sure I understand the question correctly. If you mean you > > want to use the output of Job1 as the input of Job2, then you can set > > the input path to the second job as the output path (e.g. output > > directory) from the first job. > > > > Cheers > > > > Tim > > > > > > On Mon, Jun 15, 2009 at 3:30 PM, HRoger<[email protected]> wrote: > >> > >> Hi ! > >> I write a application which has two jobs: the second job use the input > >> datasource same as the first job's added the the output(some objects) of > >> first job.Can I transfer some objects from one job to another job or > make > >> the job has two input source? > >> -- > >> View this message in context: > >> > http://www.nabble.com/how-to-transfer-data-from-one-reduce-to-another-map-tp24034706p24034706.html > >> Sent from the Hadoop core-user mailing list archive at Nabble.com. > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/how-to-transfer-data-from-one-reduce-to-another-map-tp24034706p24035057.html > Sent from the Hadoop core-user mailing list archive at Nabble.com. > > -- http://daily.appspot.com/food/
