Answers

Question and Answer:

  Home  Cloud Computing - MapReduce

⟩ With the help of two examples name the map and reduce function purpose?

Distributed grep: A line is emitted by the map function if it matches a pattern. The reduce function is an identity function that copies supplied intermediate data for output.

Term-vector per host: In this the map function emits a hostname, vector pair for every document (input). The reduce function adds all the term vectors pairs generated and discards any infrequent terms.

 212 views

More Questions for you: