You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Yangze Guo (Jira)" <ji...@apache.org> on 2021/09/27 03:09:00 UTC

[jira] [Created] (FLINK-24380) Flink should handle the state transition of the pod from Pending to Failed

Yangze Guo created FLINK-24380:
----------------------------------

             Summary: Flink should handle the state transition of the pod from Pending to Failed
                 Key: FLINK-24380
                 URL: https://issues.apache.org/jira/browse/FLINK-24380
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Coordination
    Affects Versions: 1.13.2, 1.14.0
            Reporter: Yangze Guo
             Fix For: 1.14.0, 1.13.3, 1.15.0


In K8s, there is five phases in pod's lifecycle: Pending, Running, Secceeded, Failed and Unknown. Currently, Flink does not handle the state transition of the pod from Pending to Failed. If a pod failed from Pending by `OutOfCPU` or `OutOfMem`, it will never be released and Flink keep waiting for it.

To fix this issue, Flink should terminate the pod in Failed phase proactively.



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