[jira] [Created] (FLINK-21306) FlinkSecurityManager might avoid fatal system exits

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-21306) FlinkSecurityManager might avoid fatal system exits

Shang Yuanchun (Jira)
Robert Metzger created FLINK-21306:
--------------------------------------

             Summary: FlinkSecurityManager might avoid fatal system exits
                 Key: FLINK-21306
                 URL: https://issues.apache.org/jira/browse/FLINK-21306
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Task
    Affects Versions: 1.13.0
            Reporter: Robert Metzger


In FLINK-15156, we introduced a feature that allows users to log or completely disable calls to System.exit().
This feature is enabled for certain threads / code sections intended to execute user-code.
However, some user code calls might still lead to fatal errors, which we want to handle by killing the Flink process.
It is likely that this new change (which is disabled by default) can lead to a situation where Flink should exit immediately, but it doesn't (thus leaving the system in an inconsistent state)



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