April 2017
Beginner to intermediate
358 pages
9h 30m
English
Any actual implementation of MapReduce is a little more complex than just using a map and reduce step. Both steps are invoked using keys, which allows for the separation of data and tracking of values.
For example, for a MapReduce program that performs a word count, the input key might be a sample document's ID value, while the output key would be a given word. The input value would be the text of the document and the output value would be the frequency of each word. We split the document to get the words, and then yield each of the word, count pairs. The word here is ...
Read now
Unlock full access