hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amar Kamat <ama...@yahoo-inc.com>
Subject Re: reading input for a map function from 2 different files?
Date Mon, 10 Nov 2008 06:54:00 GMT
some speed wrote:
> I was wondering if it was possible to read the input for a map function from
> 2 different files:
>   
> 1st file ---> user-input file from a particular location(path)
> 2nd file=---> A resultant file (has just one <key,value> pair) from a
> previous MapReduce job. (I am implementing a chain MapReduce function)
>
> Now, for every <key,value> pair in the user-input file, I would like to use
> the same <key,value> pair from the 2nd file for some calculations.
>   
I guess you might need to do some kind of join on the 2 files. Look at 
contrib/data_join for more details.
Amar
> Is it possible for me to do so? Can someone guide me in the right direction
> please?
>
>
> Thanks!
>
>   


Mime
View raw message