PrepAway - Latest Free Exam Questions & Answers

All keys used for intermediate output from mappers must do which of the following:

All keys used for intermediate output from mappers must do which of the following:

PrepAway - Latest Free Exam Questions & Answers

A.
Override isSplitable

B.
Implement WritableComparable

C.
Be a subclass of Filelnput-Format

D.
Use a comparator for speedy sorting

E.
Be compressed using a splittable compression algorithm.

Explanation:
The MapReduce framework operates exclusively on <key, value> pairs, that is, the
framework views the input to the job as a set of <key, value> pairs and produces a set of <key,
value> pairs as the output of the job, conceivably of different types.
The key and value classes have to be serializable by the framework and hence need to implement
the Writable interface. Additionally, the key classes have to implement the WritableComparable
interface to facilitate sorting by the framework.

Reference:MapReduce Tutorial

3 Comments on “All keys used for intermediate output from mappers must do which of the following:


Leave a Reply

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