| Name and syntax for core methods of Reducer?
Below are the three core methods of reducer which is given below
(1)setup():-We used this method for configure various parameter like input data size and distributed cache. And syntax is given below.
public void setup (context)
(2)reduce():-Heart of the Reducer is always called once per key with the associated reduced task.
public void reduce(Key, Value, context)
(3)cleanup():-We used this method to clean the temporary files once at the end of the task
public void cleanup (context) | | |