nerdexam
Cloudera

CCD-333 · Question #21

What happens in a MapReduce job when you set the number of reducers to zero?

The correct answer is B. No reducerexecutes, and the output of each mapper is written to a separate file in HDFS. See the full explanation below for the reasoning.

Question

What happens in a MapReduce job when you set the number of reducers to zero?

Options

  • ANo reducer executes, but the mappers generate no output.
  • BNo reducerexecutes, and the output of each mapper is written to a separate file in HDFS.
  • CNo reducer executes, but the outputs ofall the mappers are gathered together and written to a
  • DSetting the number of reducers to zero is invalid, and an exception is thrown.

How the community answered

(29 responses)
  • A
    14% (4)
  • B
    76% (22)
  • C
    7% (2)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full CCD-333 Practice