|| at Jul 26, 2010 at 7:19 pm
you have only to duplicate the record, any by whatever method return a different
value from getPartition for each of them.
----- 原始邮件 ----
发件人： abc xyz <firstname.lastname@example.org>
发送日期： 2010/7/26 (周一) 10:08:20 上午
主 题： sending a key-value pair to more than one reducers
In my custom partitioner (which may assign a key to more than one partitions), I
want to sometimes send a key to more than one reducers. But the default
getPartition method provided by hadoop allows to send only one value for a key.
how can I get around this?