flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (Jira)" <j...@apache.org>
Subject [jira] [Closed] (FLINK-22725) SlotManagers should unregister metrics at the start of suspend()
Date Tue, 25 May 2021 20:35:00 GMT

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

Chesnay Schepler closed FLINK-22725.
------------------------------------
    Fix Version/s:     (was: 1.13.1)
                   1.13.2
       Resolution: Fixed

master: 75a2aaa4d091a54257e1620dd6d50055dff69e61

1.13: 5363432300e4c102a73ac1365fee198d21289790

> SlotManagers should unregister metrics at the start of suspend()
> ----------------------------------------------------------------
>
>                 Key: FLINK-22725
>                 URL: https://issues.apache.org/jira/browse/FLINK-22725
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Coordination, Runtime / Metrics
>    Affects Versions: 1.13.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.14.0, 1.13.2
>
>
> Slotmanagers register metrics in start(), but only unregister them in close().
> This has 2 issues:
> a) If the SM is restarted it cannot re-register the metrics because the old ones are
still present; this isn't a critical problem (because the old ones still work) but it produces
unnecesasry logging noise
> b) The metric may produce an NPE when accessed by a reporter during suspend().



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

Mime
View raw message