Solved

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

Question 12

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents