Oops, sorry I didn't realize this was going to an external list. Please don't think about this comment until we release ZooKeeper :) (Hopefully, by the end of next week.)
thanx ben On Friday 12 October 2007, Benjamin Reed wrote: > You could put the variables in ZooKeeper and then they would be shared :) > > ben > > On Friday 12 October 2007, Owen O'Malley wrote: > > On Oct 11, 2007, at 9:54 PM, James Yu wrote: > > > I put all user global variables in a class I called MyGlobals. > > > > Since map/reduce is distributed in general, you should be careful of > > using global variables. I find it to be better practice to keep all > > of the state variables in either the Mapper or Reducer itself to > > remind myself that it is _not_ shared between Mappers, Reducers, and > > the launching program. > > > > -- Owen
