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

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

     [ https://issues.apache.org/jira/browse/FLINK-26122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Pohl updated FLINK-26122:
----------------------------------
    Issue Type: Technical Debt  (was: Bug)

> JobManagerMetricGroup.addJob returns null when already being closed
> -------------------------------------------------------------------
>
>                 Key: FLINK-26122
>                 URL: https://issues.apache.org/jira/browse/FLINK-26122
>             Project: Flink
>          Issue Type: Technical Debt
>          Components: Runtime / Coordination, Runtime / Metrics
>    Affects Versions: 1.16.0
>            Reporter: Matthias Pohl
>            Priority: Major
>
> 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)