nerdexam
Cloudera

CCD-333 · Question #19

If you run the word count MapReduce program with m mappers and r reducers, how many output files will you get at the end of the job? And how many key-value pairs will there be in each file? Assume k…

The correct answer is A. There will be r files, each with exactly k/r key-value pairs. Cloudera CCD-333 Exam

HBase Architecture and Fundamentals

Question

If you run the word count MapReduce program with m mappers and r reducers, how many output files will you get at the end of the job? And how many key-value pairs will there be in each file? Assume k is the number of unique words in the input files.

Options

  • AThere will be r files, each with exactly k/r key-value pairs.
  • BThere will be r files, each with approximately k/m key-value pairs.
  • CThere will be r files, each with approximately k/r key-value pairs.
  • DThere will be m files, each with exactlyk/m key value pairs.
  • EThere will be m files, each with approximately k/m key-value pairs.

How the community answered

(47 responses)
  • A
    81% (38)
  • B
    2% (1)
  • C
    11% (5)
  • D
    2% (1)
  • E
    4% (2)

Explanation

Cloudera CCD-333 Exam

Topics

#MapReduce#reducers#output files#key-value distribution

Community Discussion

No community discussion yet for this question.

Full CCD-333 Practice