Re: Query regarding the object creation in map reduce code

2014-12-04 Thread Gautam Hegde
Hi Raghavendra, 1. Make your objects reusable. 2. Instantiate these Reusable objects in the setup method of the Mapper/Reducer, so that these objects are instantiated only once. With Regards, Gautam Hegde On Fri, Dec 5, 2014 at 10:46 AM, Raghavendra Chandra < raghavchandra.learn...@gmail.com>

Query regarding the object creation in map reduce code

2014-12-04 Thread Raghavendra Chandra
Hi All, I need your help in writing the map reduce program in Java. I am creating a mapper and reducer classes for reading and processing a log file. I also have many other class files which acts as supporting classes to mapper and will be instantiated from mapper class within the map function.