PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Will you be able to reuse your existing Reduces as your combiner in this case and why or why not?

You want to count the number of occurrences for each unique word in the supplied input data.
You’ve decided to implement this by having your mapper tokenize each word and emit a literal
value 1, and then have your reducer increment a counter for each literal 1 it receives. After
successful implementing this, it occurs to you that you could optimize this by specifying a
combiner. Will you be able to reuse your existing Reduces as your combiner in this case and why
or why not?


Page 12 of 71« First...1011121314...203040...Last »