What is the purpose of the 'Partitioner' in MapReduce?

Answer

To determine which reducer receives which intermediate key-value pairs

Explanation

The Partitioner in MapReduce determines which reducer will receive a particular intermediate key-value pair. By default, it uses a hash function on the key to distribute data evenly among reducers.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list