There is mapper called IdentityMapper (look of IdentityMapper.java), which 
basically reads input and outputs without doing anything.
May be you can run your mapper with no reducers and store intermediate output 
and then run your 2 hadoop programs with Identity mapper and different set of 
reducers.
Thanks,
Lohit



----- Original Message ----
From: Elia Mazzawi <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, November 7, 2008 12:35:44 PM
Subject: reduce more than one way

Hello,

I'm writing hadoop programs in Java,
I have 2 hadooop map/reduce programs that have the same map, but a different 
reduce methods.

can i run them in a way so that the map only happens once?

maybe store the intermediate result or something?

Reply via email to