What is Mapper in MapReduce?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Mar 02, 2020

 

Mapper is one of the functions in the MapReduce that is used to process the input data. It processes the data by creating several small chunks of it. The mapper function takes the input in the form of a key/value pairs and processes the data into several chunks. The input data is specified to the Mapper function by the InooutFormat that defines the location of the input data. The RecordReader objects present in the InputFormat are used to extract the key/value from the input source. Then, the Mapper processes the input and creates an intermediate output that is sent o 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..