Correct Answer : Get Lastest Questions and Answer : Explanation: The combiner function is used as an optimization for the MapReduce job. The combiner function runs on the output of the map phase and is used as a Filtering or an aggregating step to lessen the number of intermediate keys that are being passed to the reducer. In most of the cases the reducer class is set to be the combiner class. The difference lies in the output from these classes. The output of the combiner class is the intermediate data that is passed to the reducer whereas the output of the reducer is passed to the output file on disk.
Correct Answer : Get Lastest Questions and Answer : Explanation: Combiner will not always improve the performance. It only improve performance if after shuffling data and before sending data over network can be reduced using combiner.
Question : If our Hadoop Job is CPU bound and Reducer is a Commutative and Associative. Then using reducer as a combiner will certainly improve the performance. 1. True 2. False
Correct Answer : Get Lastest Questions and Answer : Explanation: If your job is CPU bound , hence no benefit on the network IO. Hence, using reducer as a combiner will not give any advantage for this JOB.