Skip to main content

MapReduce

Map emits intermediate key-value pairs from independent input pieces; Reduce combines all values for each key.

For example, map can emit (word, 1) for every word in many files, and reduce can add the counts for each word.

Share: