Moving to MR-user. You will need to make a composite value class that contains the real value and a nonce that indicates which behavior is intended for the given emit.
Cheers, Anthony On Sat, Oct 15, 2011 at 5:32 PM, Nachiappan A <nachi...@gmail.com> wrote: > Hi All, > > I am writing a small Hadoop program in Java, my requirement is to do, two > Emits from a single Map method and > handle both the Emits in a single Reduce method, but differently. Is this > possible ? > If possible, how do I differentiate between the two Emits so that I can > handle both of them differently in my Reduce method ? > I did lot of searches on this, but couldn't get anything concrete. I am not > allowed to use any external libraries. > > -- > Regards > Nachiappan A >