Github user StephanEwen commented on the pull request:
https://github.com/apache/incubator-flink/pull/173#issuecomment-63957071
This adds a hook at a very sensitive point. There one blocking issue that
can cause the job to hang.
I would also not merge this without a test where the `finalizeGlobal()`
method throws an exception. That way we can be sure that the system handles
such failures properly.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---