Robert Metzger created FLINK-15156:
--------------------------------------

             Summary: Warn user if System.exit() is called in user code
                 Key: FLINK-15156
                 URL: https://issues.apache.org/jira/browse/FLINK-15156
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Coordination
            Reporter: Robert Metzger


It would make debugging Flink errors easier if we would intercept and log calls 
to System.exit() through the SecurityManager.

A user recently had an error where the JobManager was shutting down because of 
a System.exit() in the user code: 
https://lists.apache.org/thread.html/b28dabcf3068d489f38399c456c80d48569fcdf74b15f8bb95d532d0%40%3Cuser.flink.apache.org%3E

If I remember correctly, we had such issues before.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to