Dose one map instance only handle one input path at the same time?

2011-01-21 Thread lei liu
There are two input direcoties:/user/test1/ and /user/test2/ , I want to join the two direcoties content, in order to join the two directories, I need to identity the content are handled by mapper from which directory, so I use below code in mapper: private int tag = -1; @Override publ

Re: Dose one map instance only handle one input path at the same time?

2011-01-21 Thread David Rosenstrauch
Take a look at CombineFileInputFormat. DR On 01/21/2011 09:24 AM, lei liu wrote: There are two input direcoties:/user/test1/ and /user/test2/ , I want to join the two direcoties content, in order to join the two directories, I need to identity the content are handled by mapper from which direct