-Re: Passing an Object to All Reducers
David Rosenstrauch 2011-05-06, 17:56
On 05/06/2011 01:12 PM, Geoffry Roberts wrote:
> I need for each one of my reducers to have read access to a certain object
> or a clone thereof. I can instantiate this object a start up. How can I
> give my reducers a copy?
Serialize it to a string, set it as a configuration setting on the job's
configuration, then have each reducer read it from out of the config
setting, and deserialize the object.