On Sun, Mar 15, 2009 at 7:24 AM, Tamir Kamara <tamirkam...@gmail.com> wrote:
> Hi, > > I have 2 files in this format: > file1: (source, target) > file2: (source) I would map file 1 like: (source, 2), (target) I would map file 2 like: (source, 1), (null) Set a partitioner and grouping comparator to compare only the first part of the key. On each call to reduce, if the first value is null then emit the rest and otherwise discard them. -- Owen