Solved

To Process Input Key-Value Pairs, Your Mapper Needs to Lead

Question 19

Multiple Choice

To process input key-value pairs, your mapper needs to lead a 512 MB data file in memory. What is the best way to accomplish this?


A) Serialize the data file, insert in it the JobConf object, and read the data into memory in the configure method of the mapper.
B) Place the data file in the DistributedCache and read the data into memory in the map method of the mapper.
C) Place the data file in the DataCache and read the data into memory in the configure method of the mapper.
D) Place the data file in the DistributedCache and read the data into memory in the configure method of the mapper.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions