[
https://issues.apache.org/jira/browse/FLINK-37559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18039656#comment-18039656
]
Valerii Shinkevich commented on FLINK-37559:
--------------------------------------------
I encountered this problem after upgrading from version 1.19.1 to 1.19.3.
> Produce warn log whenever CommitterOperator#snapshotState called
> ----------------------------------------------------------------
>
> Key: FLINK-37559
> URL: https://issues.apache.org/jira/browse/FLINK-37559
> Project: Flink
> Issue Type: Bug
> Affects Versions: 1.20.1
> Reporter: Chanhyeong Cho
> Priority: Major
>
> Too many 'pendingCommittables' Name collision logs are produced due to the
> reasons mentioned in the title.
>
> {code:java}
> Name collision: Group already contains a Metric with the name
> 'pendingCommittables'. Metric will not be reported.[<ip address>,
> taskmanager, <tm host>, <job name>, <task name>: Committer, <task index>]
> {code}
> We've started use flink 1.20.1, and don't know about previous versions.
> I guess this occurs after change of
> https://issues.apache.org/jira/browse/FLINK-36455
> ([https://github.com/apache/flink/pull/25547]).
>
> CommitterOperator#snapshotState raise CommittableCollector#copy, and that
> calls
> SinkCommitterMetricGroup#setCurrentPendingCommittablesGauge which registers
> 'pendingCommittables' gauge into metricGroup.
> Because the 'pendingCommittables' gauge was already registered at creation
> time, it produces warn message at every 'copy()' called.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)