You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Matthias Pohl (Jira)" <ji...@apache.org> on 2022/02/14 09:39:00 UTC

[jira] [Created] (FLINK-26122) JobManagerMetricGroup.addJob returns null when already being closed

Matthias Pohl created FLINK-26122:
-------------------------------------

             Summary: JobManagerMetricGroup.addJob returns null when already being closed
                 Key: FLINK-26122
                 URL: https://issues.apache.org/jira/browse/FLINK-26122
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Coordination, Runtime / Metrics
    Affects Versions: 1.16.0
            Reporter: Matthias Pohl


We might want to make this more stable by throwing a {{IllegalStateException}} instead. The value will be returned to the {{JobMaster}} and passed into the scheduler. Additionally, it's called in the {{JobMaster}}'s {{stopScheduling}} method where it is closed and would issue a {{NullPointerException}} if not properly handled earlier.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)