PrepAway - Latest Free Exam Questions & Answers

In writing a MapReduce program to accomplish this, can you take advantage of a combiner?

You have a large dataset of key-value pairs, where the keys are strings, and the values are
integers. For each unique key, you want to identify the largest integer. In writing a MapReduce
program to accomplish this, can you take advantage of a combiner?

PrepAway - Latest Free Exam Questions & Answers

A.
No, a combiner would not be useful in this case.

B.
Yes.

C.
Yes, but the number of unique keys must be known in advance.

D.
Yes, as long as all the keys fit into memory on each node.

E.
Yes, as long as all the integer values that share the same key fit into memory on each node.

3 Comments on “In writing a MapReduce program to accomplish this, can you take advantage of a combiner?


Leave a Reply to Vinod Cancel reply

Your email address will not be published. Required fields are marked *