Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce, mail # user - Re: Collecting MAP output in a Iterator


Copy link to this message
-
Re: Collecting MAP output in a Iterator
Lance Norskog 2012-08-20, 20:24
The reducer has to open MAP2 explicitly. If it is a regular file, it
has to be in distributed cache.

On Mon, Aug 20, 2012 at 12:56 PM, Siddharth Tiwari
<[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I have two mappers MAP1 and MAP2, which collect data from two different
> files,
> In reducer I want to traverse all keys and values of MAP2 for each key and
> value of  MAP1.
> How can I achieve it in one Reducer.
>
> Please suggest
>
>
> *------------------------*
> Cheers !!!
> Siddharth Tiwari
> Have a refreshing day !!!
> "Every duty is holy, and devotion to duty is the highest form of worship of
> God.”
> "Maybe other people will try to limit me but I don't limit myself"

--
Lance Norskog
[EMAIL PROTECTED]
+
Bertrand Dechoux 2012-08-20, 20:28
+
Siddharth Tiwari 2012-08-20, 21:46
+
Shanu Shushmita 2012-08-20, 21:52
+
Bejoy Ks 2012-08-21, 07:55
+
Bejoy Ks 2012-08-21, 08:02
+
Siddharth Tiwari 2012-08-20, 19:53