MapReduce Cloud Computing Question:
Download Questions PDF

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.

Download Cloud Computing - MapReduce Interview Questions And Answers PDF

Previous QuestionNext Question
What is task granularity?Do you know the general mapreduce algorithm?