PrepAway - Latest Free Exam Questions & Answers

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

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

PrepAway - Latest Free Exam Questions & Answers

A.
A single reducer gathers and processes all the output from all the mappers. The output is
written in as many separate files as there are mappers.

B.
A single reducer gathers and processes all the output from all the mappers. The output is
written to a single file in HDFS.

C.
Setting the number of reducers to one creates a processing bottleneck, and since the number
of reducers as specified by the programmer is used as a reference value only, the MapReduce
runtime provides a default setting for the number of reducers.

D.
Setting the number of reducers to one is invalid, and an exception is thrown.

2 Comments on “What happens in a MapReduce job when you set the number of reducers to one?

  1. Ramesh Hiremath says:

    B.
    A single reducer gathers and processes all the output from all the mappers. The output is
    written to a single file in HDFS.




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *