What is Combiner in MapReduce?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Mar 18, 2020

 

A Combiner or a semi-reducer is just an optional class in the MapReduce. It mainly summarizes the map output records with the same key. The combiner accepts the input from the map class. The output of the combiner will be sent over the network to the reducer task as the input. So the combiner works between the Map and Reduce class to reduce the amount of data transfer between them. For the combiner to work properly, the key-value type should be the same between the mapper and the reducer class. Also, the combiner doesn’t have a predefined interface as it implements the reduce() method from the interface of the reducer.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Mapreduce Interview Questions

    What is Hadoop Map Reduce?

    Map Reduce is the core of Hadoop. It is one of the programming paradigms that acknowledge into consideration enormous a..

    Mapreduce Interview Questions

    What is the need of Map Reduce?

    Map Reduce is information handling paradigms in itself. This was one of its kind information handlings and has been tra..

    Mapreduce Interview Questions

    Clarify what is shuffling in Map Reduce?

    The procedure by which the framework lays out the sort and transfers the map outputs to the reducer as sources of inform..