Definition Map & Reduce

Moderator: Concepts and Technologies for DS and BDP

oek
Erstie
Erstie
Beiträge: 21
Registriert: 11. Sep 2013 08:42

Definition Map & Reduce

Beitrag von oek »

Hi,

are the following explanation good enough for the exam?

Map: Map, written by the user, takes an input pair of key/value and produces a set of intermediate Key/value pairs. All intermediate values associated with the same intermediate "k" and passes them to the reduce function.

Reduce: Reduce, written by the user, accepts an intermediate key "k" and a set of values for that key. It merges together these values to form a smaller set of values.

salvaneschi
Moderator
Moderator
Beiträge: 49
Registriert: 29. Mär 2013 23:51

Re: Definition Map & Reduce

Beitrag von salvaneschi »

I would say, it really depends on the question ;)

Antworten

Zurück zu „Archiv“