Qin, since I can guess what you're trying to do with this (emit a bunch of expected counts at the end of EM?), you can write output during the call to close(). It involves having to store the output collector object as a member of the class, but this is a way to do a final flush on the object before it is destroyed.
Chris On Wed, Aug 20, 2008 at 7:02 PM, Qin Gao <[EMAIL PROTECTED]> wrote: > Hi mailing, > > Are there any way to know whether the mapper is processing the last record > that assigned to this node, or know how many records remain to be processed > in this node? > > > Qin >