1。决定Mapper的输出到那个Reducer,是由Partition决定的
2。Reducer接收到的key都是排序好的
2。Reducer接收到的key都是排序好的
本文主要介绍了MapReduce中分区的概念及其作用,即决定Mapper的输出如何分配到不同的Reducer。此外,还提到了Reducer接收到的数据会按Key进行排序。
2825
484
1362

被折叠的 条评论
为什么被折叠?