you have only to duplicate the record, any by whatever method return a different value from getPartition for each of them.
-Gang ----- 原始邮件 ---- 发件人: abc xyz <[email protected]> 收件人: [email protected] 发送日期: 2010/7/26 (周一) 10:08:20 上午 主 题: sending a key-value pair to more than one reducers hi, 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? Thanks
