如何(hadoop)reducer使用python流获取排序值?

时间:2014-03-07 02:38:59

标签: python hadoop hadoop-streaming

示例:

地图的输出:

key1, 3
key1, 1
key1, 2
key1, 4

在处理key1的reduce中,我希望reducer按此顺序获取输入:

key1, 1
key1, 2
key1, 3
key1, 4

0 个答案:

没有答案