flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "xingyuan cheng (Jira)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-22725) SlotManagers should unregister metrics at the start of suspend()
Date Thu, 20 May 2021 13:57:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-22725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17348539#comment-17348539
] 

xingyuan cheng commented on FLINK-22725:
----------------------------------------

i can do it

> 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
>             Fix For: 1.14.0, 1.13.1
>
>
> 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