Re: Issue in access static object in MapReduce

2012-09-11 Thread Bejoy Ks
Hi Stuti You can pass the json object as a configuration property from your main class then Initialize this static json object on the configure() method. Every instance of map or reduce task will have this configure() method executed once before the map()/reduce() function . So all the executions

RE: Issue in access static object in MapReduce

2012-09-11 Thread Stuti Awasthi
Thanks Bejoy, I try to implement and if face any issues will let you know. Thanks Stuti From: Bejoy Ks [mailto:bejoy.had...@gmail.com] Sent: Tuesday, September 11, 2012 8:39 PM To: user@hadoop.apache.org Subject: Re: Issue in access static object in MapReduce Hi Stuti You can pass the json

Re: Issue in access static object in MapReduce

2012-09-11 Thread Kunaal
Ks [mailto:bejoy.had...@gmail.com] > Sent: Tuesday, September 11, 2012 8:39 PM > To: user@hadoop.apache.org > Subject: Re: Issue in access static object in MapReduce > > Hi Stuti > > You can pass the json object as a configuration property from your main class > then Initia