AnsweredAssumed Answered

How does partitioner decide which key value pair to be sent to which reducer?

Question asked by sulokit on Mar 28, 2015
Latest reply on Apr 22, 2015 by jcasaletto
Mapper generates the key value pair, but how exactly is it sent to Partitioner and how exactly the partitioner decides which reducer to pick for the given key value pair.
Ex: I am MapR

Mapper output,
I 1
am 1
MapR 1

Now how does it decides on the hash value? Whether there is any range of hash values set for a partitioner or reducer to be sent to or is it completely random?

Please help me understand this.