Map() cleanup routine

22 views
Skip to first unread message

Jeremy Brenner

unread,
Mar 7, 2012, 1:40:27 PM3/7/12
to virgil...@googlegroups.com
I'm looking for a way to do one of the following:

a) Know during the map() invocation how many maps there are left to process
b) Know during the map() invocation if this is the last map of the the batch
c) Define a cleanup routine to be called before the map environment is destroyed

Is there any way known to do this?  Currently i'm attempting to "require 'java'" and inspect the environment from inside my map(),  this process is somewhat tedious as you can imagine.

Any help would be greatly appreciated.  Thanks. :)

Brian O'Neill

unread,
Mar 8, 2012, 9:36:32 AM3/8/12
to virgil...@googlegroups.com

Again, thanks for the great suggestions.  I'll look into this.
Can you submit the this as another feature request?

I'll take a look and let you know when I think we can get it in there.

-brian

---- 
Brian O'Neill
Lead Architect, Software Development
Health Market Science | 2700 Horizon Drive | King of Prussia, PA 19406
p: 215.588.6024


Reply all
Reply to author
Forward
0 new messages