If you just want to do something after the job finishes, just put the finalization code after the call to "execute()":
env.execute();
myCustomOutputFinalization();
If you want each parallel output to do something after it finished, then override the "close()" method of the OutputFormat.
To have a finalization call on the JobManager, make sure the OutputFormat implements "FinalizeOnMaster" and override that interface's method.
Does any of that work for you?
Am 27.05.2015 08:43 schrieb "Flavio Pompermaier" <
[hidden email]>:
Any insight about this?