You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2022/05/05 07:46:55 UTC

[flink] branch master updated: [hotfix][metrics] Ignore compatibility warnings for Metric#getMetricType

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new cba25b11543 [hotfix][metrics] Ignore compatibility warnings for Metric#getMetricType
cba25b11543 is described below

commit cba25b115431a2f7939b055d47786536d19ac1ea
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Thu May 5 09:46:33 2022 +0200

    [hotfix][metrics] Ignore compatibility warnings for Metric#getMetricType
    
    The change is source-compatible.
---
 pom.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/pom.xml b/pom.xml
index ee5eaf09794..91db75c42a3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2142,6 +2142,11 @@ under the License.
 								<exclude>org.apache.flink.api.scala.hadoop.mapred.HadoopOutputFormat</exclude>
 								<exclude>org.apache.flink.api.scala.hadoop.mapreduce.HadoopInputFormat</exclude>
 								<exclude>org.apache.flink.api.scala.hadoop.mapreduce.HadoopOutputFormat</exclude>
+								<exclude>org.apache.flink.metrics.Metric#getMetricType()</exclude>
+								<exclude>org.apache.flink.metrics.Counter#getMetricType()</exclude>
+								<exclude>org.apache.flink.metrics.Meter#getMetricType()</exclude>
+								<exclude>org.apache.flink.metrics.Gauge#getMetricType()</exclude>
+								<exclude>org.apache.flink.metrics.Histogram#getMetricType()</exclude>
 							</excludes>
 							<accessModifier>public</accessModifier>
 							<breakBuildOnModifications>false</breakBuildOnModifications>