I am trying to convert some MR programs that use Text only to instead use some 
custom classes.  One of my classes has a Vector type and I found that the 
vector 
grows with each call to my reducer such that the last call to the reducer has 
every value within the Vector from all of the classes that use this vector 
type.  Does MR reuse objects?

The only way I could fix this was to re-initialize my vectors in the "public 
void readFields(DataInput in)" method.  This does not seem like I should have 
to 
do this or do I ???

Thanks,
Ray



      

Reply via email to