You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by pv...@apache.org on 2026/04/29 11:52:50 UTC

(iceberg) branch main updated: Flink: Backport: Bundle flink-metrics-dropwizard in runtime jar (#16141)

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

pvary pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git


The following commit(s) were added to refs/heads/main by this push:
     new c81534fba6 Flink: Backport: Bundle flink-metrics-dropwizard in runtime jar (#16141)
c81534fba6 is described below

commit c81534fba6a521f70dd1c054c4f688622c04c09d
Author: Maximilian Michels <mx...@apache.org>
AuthorDate: Wed Apr 29 13:52:42 2026 +0200

    Flink: Backport: Bundle flink-metrics-dropwizard in runtime jar (#16141)
    
    * Flink: Backport: Bundle flink-metrics-dropwizard in runtime jar (#16126)
---
 flink/v1.20/build.gradle          |  4 ++--
 flink/v1.20/flink-runtime/LICENSE | 10 +++++++++-
 flink/v2.0/build.gradle           |  4 ++--
 flink/v2.0/flink-runtime/LICENSE  | 10 +++++++++-
 4 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/flink/v1.20/build.gradle b/flink/v1.20/build.gradle
index 772133c8e1..2bbad1891c 100644
--- a/flink/v1.20/build.gradle
+++ b/flink/v1.20/build.gradle
@@ -33,7 +33,7 @@ project(":iceberg-flink:iceberg-flink-${flinkMajorVersion}") {
     implementation project(':iceberg-hive-metastore')
 
     compileOnly libs.flink120.avro
-    // for dropwizard histogram metrics implementation
+    // dropwizard histogram metrics (optional in Flink)
     compileOnly libs.flink120.metrics.dropwizard
     compileOnly libs.flink120.streaming.java
     compileOnly "${libs.flink120.streaming.java.get().module}:${libs.flink120.streaming.java.get().getVersion()}:tests"
@@ -169,7 +169,7 @@ project(":iceberg-flink:iceberg-flink-runtime-${flinkMajorVersion}") {
       exclude group: 'com.google.code.findbugs', module: 'jsr305'
     }
 
-    // for dropwizard histogram metrics implementation
+    // To support dropwizard histogram metrics (not shipped by Flink by default)
     implementation libs.flink120.metrics.dropwizard
 
     // for integration testing with the flink-runtime-jar
diff --git a/flink/v1.20/flink-runtime/LICENSE b/flink/v1.20/flink-runtime/LICENSE
index 36a03cb4fc..e8c4c4a0bd 100644
--- a/flink/v1.20/flink-runtime/LICENSE
+++ b/flink/v1.20/flink-runtime/LICENSE
@@ -556,7 +556,7 @@ License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2
 
 --------------------------------------------------------------------------------
 
-This product bundles Codahale Metrics.
+This product bundles Dropwizard Metrics.
 
 Copyright: (c) 2010-2013 Coda Hale, Yammer.com, 2014-2021 Dropwizard Team
 Project URL: https://github.com/dropwizard/metrics
@@ -564,6 +564,14 @@ License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2
 
 --------------------------------------------------------------------------------
 
+This product bundles Apache Flink's optional support for Dropwizard Metrics.
+
+Copyright: 2014-2026 The Apache Software Foundation
+Project URL: https://flink.apache.org/
+License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0
+
+--------------------------------------------------------------------------------
+
 This product bundles RoaringBitmap.
 
 Copyright: (c) 2013-... the RoaringBitmap authors
diff --git a/flink/v2.0/build.gradle b/flink/v2.0/build.gradle
index b276cb90dd..626cc01b28 100644
--- a/flink/v2.0/build.gradle
+++ b/flink/v2.0/build.gradle
@@ -33,7 +33,7 @@ project(":iceberg-flink:iceberg-flink-${flinkMajorVersion}") {
     implementation project(':iceberg-hive-metastore')
 
     compileOnly libs.flink20.avro
-    // for dropwizard histogram metrics implementation
+    // dropwizard histogram metrics (optional in Flink)
     compileOnly libs.flink20.metrics.dropwizard
     compileOnly libs.flink20.streaming.java
     compileOnly "${libs.flink20.streaming.java.get().module}:${libs.flink20.streaming.java.get().getVersion()}:tests"
@@ -169,7 +169,7 @@ project(":iceberg-flink:iceberg-flink-runtime-${flinkMajorVersion}") {
       exclude group: 'com.google.code.findbugs', module: 'jsr305'
     }
 
-    // for dropwizard histogram metrics implementation
+    // To support dropwizard histogram metrics (not shipped by Flink by default)
     implementation libs.flink20.metrics.dropwizard
 
     // for integration testing with the flink-runtime-jar
diff --git a/flink/v2.0/flink-runtime/LICENSE b/flink/v2.0/flink-runtime/LICENSE
index 36a03cb4fc..e8c4c4a0bd 100644
--- a/flink/v2.0/flink-runtime/LICENSE
+++ b/flink/v2.0/flink-runtime/LICENSE
@@ -556,7 +556,7 @@ License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2
 
 --------------------------------------------------------------------------------
 
-This product bundles Codahale Metrics.
+This product bundles Dropwizard Metrics.
 
 Copyright: (c) 2010-2013 Coda Hale, Yammer.com, 2014-2021 Dropwizard Team
 Project URL: https://github.com/dropwizard/metrics
@@ -564,6 +564,14 @@ License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2
 
 --------------------------------------------------------------------------------
 
+This product bundles Apache Flink's optional support for Dropwizard Metrics.
+
+Copyright: 2014-2026 The Apache Software Foundation
+Project URL: https://flink.apache.org/
+License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0
+
+--------------------------------------------------------------------------------
+
 This product bundles RoaringBitmap.
 
 Copyright: (c) 2013-... the RoaringBitmap authors