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
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
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