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?

🎲 Try a Random Question  |  Total Questions in Quiz: 53  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Cloudera CCD-410 Cloudera Certified Developer for Apache Hadoop (CCDH) Practice Test 2 — practice the complete quiz, review flashcards, or try a random question.


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?