Search

What is partitioner in Map Phase ?



Partitioner takes intermediate output from mappers as input and splits into partitions. Each partition will be fed separately into each reducer. The keys are partitioned in such a way that records for any given key are grouped into a single partition. 

The partitioned data is written to the local file system for each map task and it will be transferred to its respective reducer.