adspace
What is partioner in hadoop? Where does it run,mapper or reducer?
Answer Posted / Babi Kumari
In Hadoop, a Partitioner is responsible for distributing key-value pairs generated during the Map phase evenly across Reducers. It runs within the MapReduce job's configuration and helps optimize data locality by ensuring that most of the data processed by a single Reducer comes from the same node. It does not run in either the Mapper or Reducer itself.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers