Cloudera
CCD-410 · Question #57
Which process describes the lifecycle of a Mapper?
The correct answer is B. The TaskTracker spawns a new Mapper to process all records in a single input split. Tasktracker creates new Mapper for each input split,and that mapper will run for all the key_value pairs(records) of that input splits.
Hadoop Ecosystem Fundamentals
Question
Which process describes the lifecycle of a Mapper?
Options
- AThe JobTracker calls the TaskTracker's configure () method, then its map () method and finally its close ()
- BThe TaskTracker spawns a new Mapper to process all records in a single input split.
- CThe TaskTracker spawns a new Mapper to process each key-value pair.
- DThe JobTracker spawns a new Mapper to process all records in a single file.
How the community answered
(21 responses)- A19% (4)
- B71% (15)
- C5% (1)
- D5% (1)
Explanation
Tasktracker creates new Mapper for each input split,and that mapper will run for all the key_value pairs(records) of that input splits.
Topics
#MapReduce#Mapper lifecycle#input split#TaskTracker
Community Discussion
No community discussion yet for this question.