[jira] [Created] (FLINK-20425) Change exit code in FatalExitExceptionHandler to be different from JvmShutdownSafeguard

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

[jira] [Created] (FLINK-20425) Change exit code in FatalExitExceptionHandler to be different from JvmShutdownSafeguard

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

             Summary: Change exit code in FatalExitExceptionHandler to be different from JvmShutdownSafeguard
                 Key: FLINK-20425
                 URL: https://issues.apache.org/jira/browse/FLINK-20425
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Coordination
    Affects Versions: 1.13.0
            Reporter: Robert Metzger
             Fix For: 1.13.0


Both classes mentioned in the title use the same exit code (-17), making it impossible to distinguish the cause of an unexpected Flink JVM exit based on the exit code alone.

Maybe we could introduce an Enum that defines all possible exit codes in Flink?



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