1.

What are the main methods of Reducer?

Answer»

The main methods of REDUCER are given below:

  • setup(): This METHOD is used for the configuration of parameters like the size of input DATA, distributed cache, etc.
  • reduce(): It acts as the heart of the reducer which is called once PER key with the associated reduced task
  • cleanup(): This method is used to CLEAR out all the temporary files and it is called only once at the end of reduce task.


Discussion

No Comment Found