nerdexam
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)
  • A
    19% (4)
  • B
    71% (15)
  • C
    5% (1)
  • D
    5% (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.

Full CCD-410 Practice