标签: python hadoop hadoop-streaming
示例:
地图的输出:
key1, 3 key1, 1 key1, 2 key1, 4
在处理key1的reduce中,我希望reducer按此顺序获取输入:
key1
key1, 1 key1, 2 key1, 3 key1, 4