anushri
New to the Community
Posts: 1
|
Post by anushri on Jul 3, 2018 7:31:34 GMT
What are the core methods of a Reducer? The three core methods of a Reducer are: setup(): this method is used for configuring various parameters like input data size, distributed cache. public void setup (context) reduce(): heart of the reducer always called once per key with the associated reduced task public void reduce(Key, Value, context) cleanup(): this method is called to clean temporary files, only once at the end of the task public void cleanup (context) Hadoop training in Bangalore
|
|