Cloudera
CCD-333 · Question #4
To process input key-value pairs, your mapper needs to load a 512 MB data file in memory. What is the best way to accomplish this?
The correct answer is D. Serialize the data file, insert it in the Jobconfobject, and read the data into memory in the. See the full explanation below for the reasoning.
Question
To process input key-value pairs, your mapper needs to load a 512 MB data file in memory. What is the best way to accomplish this?
Options
- APlace the data tile in theDataCache and read the data into memory in the configure method of
- BPlace the data file in the DtStribub&dCache and read the data into memory in the map
- CPlace the data file in the DistribulodCache and read the data into memory in the configure
- DSerialize the data file, insert it in the Jobconfobject, and read the data into memory in the
How the community answered
(50 responses)- A6% (3)
- B2% (1)
- C8% (4)
- D84% (42)
Community Discussion
No community discussion yet for this question.