From 6f86ed09caa9883bcea36c0012f629d817cdd2a8 Mon Sep 17 00:00:00 2001 From: Maximilian Michels Date: Mon, 27 Apr 2026 10:42:44 +0200 Subject: [PATCH 1/8] Flink: Bundle flink-metrics-dropwizard in runtime jar Iceberg uses Dropwizard metrics for Hisograms. Flink does not ship this optional dependency by default. In order for histograms to continue to work, we should add back the runtime dependency removed in #16093. --- flink/v2.1/build.gradle | 6 +++++- flink/v2.1/flink-runtime/runtime-deps.txt | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/flink/v2.1/build.gradle b/flink/v2.1/build.gradle index 53f87f27aa67..9fe01798e545 100644 --- a/flink/v2.1/build.gradle +++ b/flink/v2.1/build.gradle @@ -33,7 +33,7 @@ project(":iceberg-flink:iceberg-flink-${flinkMajorVersion}") { implementation project(':iceberg-hive-metastore') compileOnly libs.flink21.avro - // for dropwizard histogram metrics implementation + // dropwizard histogram metrics (optional in Flink) compileOnly libs.flink21.metrics.dropwizard compileOnly libs.flink21.streaming.java compileOnly "${libs.flink21.streaming.java.get().module}:${libs.flink21.streaming.java.get().getVersion()}:tests" @@ -156,6 +156,7 @@ project(":iceberg-flink:iceberg-flink-runtime-${flinkMajorVersion}") { implementation(project(":iceberg-flink:iceberg-flink-${flinkMajorVersion}")) { exclude group: 'org.apache.flink' } + implementation project(':iceberg-aws') implementation project(':iceberg-azure') implementation(project(':iceberg-aliyun')) { @@ -169,6 +170,9 @@ project(":iceberg-flink:iceberg-flink-runtime-${flinkMajorVersion}") { exclude group: 'com.google.code.findbugs', module: 'jsr305' } + // To support dropwizard histogram metrics (not shipped by Flink by default) + implementation libs.flink21.metrics.dropwizard + // for integration testing with the flink-runtime-jar // all of those dependencies are required because the integration test extends FlinkTestBase integrationCompileOnly project(':iceberg-api') diff --git a/flink/v2.1/flink-runtime/runtime-deps.txt b/flink/v2.1/flink-runtime/runtime-deps.txt index 00c53ed388d0..3dfc56f15ea9 100644 --- a/flink/v2.1/flink-runtime/runtime-deps.txt +++ b/flink/v2.1/flink-runtime/runtime-deps.txt @@ -6,9 +6,11 @@ com.github.luben:zstd-jni:1.5.7-3 com.google.errorprone:error_prone_annotations:2.10.0 dev.failsafe:failsafe:3.3.2 io.airlift:aircompressor:2.0.3 +io.dropwizard.metrics:metrics-core:3.2.6 org.apache.avro:avro:1.12.1 org.apache.datasketches:datasketches-java:6.2.0 org.apache.datasketches:datasketches-memory:3.0.2 +org.apache.flink:flink-metrics-dropwizard:2.1.0 org.apache.httpcomponents.client5:httpclient5:5.6 org.apache.httpcomponents.core5:httpcore5-h2:5.4 org.apache.httpcomponents.core5:httpcore5:5.4 From 87b07e950c400cb1f65ad2172de5a326e6c7d9e8 Mon Sep 17 00:00:00 2001 From: Maximilian Michels Date: Mon, 27 Apr 2026 10:55:26 +0200 Subject: [PATCH 2/8] Flink: Backport: Bundle flink-metrics-dropwizard in runtime jar Backport for Flink 2.0 and 1.20. --- flink/v1.20/build.gradle | 5 +++-- flink/v2.0/build.gradle | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/flink/v1.20/build.gradle b/flink/v1.20/build.gradle index 772133c8e1d8..ee1270817f5a 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" @@ -156,6 +156,7 @@ project(":iceberg-flink:iceberg-flink-runtime-${flinkMajorVersion}") { implementation(project(":iceberg-flink:iceberg-flink-${flinkMajorVersion}")) { exclude group: 'org.apache.flink' } + implementation project(':iceberg-aws') implementation project(':iceberg-azure') implementation(project(':iceberg-aliyun')) { @@ -169,7 +170,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/v2.0/build.gradle b/flink/v2.0/build.gradle index b276cb90dd24..7961685383be 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" @@ -156,6 +156,7 @@ project(":iceberg-flink:iceberg-flink-runtime-${flinkMajorVersion}") { implementation(project(":iceberg-flink:iceberg-flink-${flinkMajorVersion}")) { exclude group: 'org.apache.flink' } + implementation project(':iceberg-aws') implementation project(':iceberg-azure') implementation(project(':iceberg-aliyun')) { @@ -169,7 +170,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 From e731d667ef6d89edf4ff6c9878de49209c807113 Mon Sep 17 00:00:00 2001 From: Maximilian Michels Date: Mon, 27 Apr 2026 11:13:21 +0200 Subject: [PATCH 3/8] fixup! Update docs with a notice --- docs/docs/flink-writes.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/docs/flink-writes.md b/docs/docs/flink-writes.md index 09fa22b640c7..c904635d0dbb 100644 --- a/docs/docs/flink-writes.md +++ b/docs/docs/flink-writes.md @@ -207,6 +207,10 @@ They should have the following key-value tags. | dataFilesSizeHistogram | Histogram | Histogram distribution of data file sizes (in bytes). | | deleteFilesSizeHistogram | Histogram | Histogram distribution of delete file sizes (in bytes). | +The `Histogram` metrics above require `flink-metrics-dropwizard` on the classpath, which is not shipped +by Flink by default. When using `iceberg-flink-runtime`, this dependency is already bundled. When using +the `iceberg-flink` artifact directly, add `org.apache.flink:flink-metrics-dropwizard` as a dependency. + Committer metrics are added under the sub group of `IcebergFilesCommitter`. They should have the following key-value tags. From 52fd6e6830694f3ebd62e05f0cc2740df75f8306 Mon Sep 17 00:00:00 2001 From: Maximilian Michels Date: Mon, 27 Apr 2026 17:00:46 +0200 Subject: [PATCH 4/8] fixup! correct NOTICE/LICENSE files --- flink/v1.20/flink-runtime/LICENSE | 8 ++++++++ flink/v1.20/flink-runtime/NOTICE | 12 ++++++++++++ flink/v2.0/flink-runtime/LICENSE | 8 ++++++++ flink/v2.0/flink-runtime/NOTICE | 12 ++++++++++++ flink/v2.1/flink-runtime/LICENSE | 8 ++++++++ flink/v2.1/flink-runtime/NOTICE | 12 ++++++++++++ 6 files changed, 60 insertions(+) diff --git a/flink/v1.20/flink-runtime/LICENSE b/flink/v1.20/flink-runtime/LICENSE index 36a03cb4fcf9..dce8dd82afe6 100644 --- a/flink/v1.20/flink-runtime/LICENSE +++ b/flink/v1.20/flink-runtime/LICENSE @@ -564,6 +564,14 @@ License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2 -------------------------------------------------------------------------------- +This product bundles Apache Flink Metrics Dropwizard. + +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/v1.20/flink-runtime/NOTICE b/flink/v1.20/flink-runtime/NOTICE index 7603ddaedd9f..94c0018f512c 100644 --- a/flink/v1.20/flink-runtime/NOTICE +++ b/flink/v1.20/flink-runtime/NOTICE @@ -590,3 +590,15 @@ This product bundles Conscrypt (uber-jar) with the following in its NOTICE: | * licenses/LICENSE.harmony.txt (Apache License 2.0) | * HOMEPAGE: | * https://harmony.apache.org/ + +-------------------------------------------------------------------------------- + +This product bundles Apache Flink Metrics Dropwizard with the following in its NOTICE file: +| Apache Flink +| Copyright 2006-2026 The Apache Software Foundation +| +| This product includes software developed at +| The Apache Software Foundation (http://www.apache.org/). +| +| Flink : Metrics : Dropwizard +| Copyright 2014-2026 The Apache Software Foundation diff --git a/flink/v2.0/flink-runtime/LICENSE b/flink/v2.0/flink-runtime/LICENSE index 36a03cb4fcf9..dce8dd82afe6 100644 --- a/flink/v2.0/flink-runtime/LICENSE +++ b/flink/v2.0/flink-runtime/LICENSE @@ -564,6 +564,14 @@ License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2 -------------------------------------------------------------------------------- +This product bundles Apache Flink Metrics Dropwizard. + +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/flink-runtime/NOTICE b/flink/v2.0/flink-runtime/NOTICE index 72916788b5e4..f5e516ba8fc6 100644 --- a/flink/v2.0/flink-runtime/NOTICE +++ b/flink/v2.0/flink-runtime/NOTICE @@ -511,3 +511,15 @@ This product bundles Jackson JSON Processor with the following in its NOTICE fil | | See FastDoubleParser-NOTICE for details of other source code included in FastDoubleParser | and the licenses and copyrights that apply to that code. + +-------------------------------------------------------------------------------- + +This product bundles Apache Flink Metrics Dropwizard with the following in its NOTICE file: +| Apache Flink +| Copyright 2006-2026 The Apache Software Foundation +| +| This product includes software developed at +| The Apache Software Foundation (http://www.apache.org/). +| +| Flink : Metrics : Dropwizard +| Copyright 2014-2026 The Apache Software Foundation diff --git a/flink/v2.1/flink-runtime/LICENSE b/flink/v2.1/flink-runtime/LICENSE index 36a03cb4fcf9..dce8dd82afe6 100644 --- a/flink/v2.1/flink-runtime/LICENSE +++ b/flink/v2.1/flink-runtime/LICENSE @@ -564,6 +564,14 @@ License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2 -------------------------------------------------------------------------------- +This product bundles Apache Flink Metrics Dropwizard. + +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.1/flink-runtime/NOTICE b/flink/v2.1/flink-runtime/NOTICE index 72916788b5e4..f5e516ba8fc6 100644 --- a/flink/v2.1/flink-runtime/NOTICE +++ b/flink/v2.1/flink-runtime/NOTICE @@ -511,3 +511,15 @@ This product bundles Jackson JSON Processor with the following in its NOTICE fil | | See FastDoubleParser-NOTICE for details of other source code included in FastDoubleParser | and the licenses and copyrights that apply to that code. + +-------------------------------------------------------------------------------- + +This product bundles Apache Flink Metrics Dropwizard with the following in its NOTICE file: +| Apache Flink +| Copyright 2006-2026 The Apache Software Foundation +| +| This product includes software developed at +| The Apache Software Foundation (http://www.apache.org/). +| +| Flink : Metrics : Dropwizard +| Copyright 2014-2026 The Apache Software Foundation From 7c06c48e9097066509422a7931ad21bdc09468cf Mon Sep 17 00:00:00 2001 From: Maximilian Michels Date: Tue, 28 Apr 2026 10:06:32 +0200 Subject: [PATCH 5/8] fixup! Remove NOTICE changes --- flink/v1.20/flink-runtime/NOTICE | 12 ------------ flink/v2.0/flink-runtime/NOTICE | 12 ------------ flink/v2.1/flink-runtime/NOTICE | 12 ------------ 3 files changed, 36 deletions(-) diff --git a/flink/v1.20/flink-runtime/NOTICE b/flink/v1.20/flink-runtime/NOTICE index 94c0018f512c..7603ddaedd9f 100644 --- a/flink/v1.20/flink-runtime/NOTICE +++ b/flink/v1.20/flink-runtime/NOTICE @@ -590,15 +590,3 @@ This product bundles Conscrypt (uber-jar) with the following in its NOTICE: | * licenses/LICENSE.harmony.txt (Apache License 2.0) | * HOMEPAGE: | * https://harmony.apache.org/ - --------------------------------------------------------------------------------- - -This product bundles Apache Flink Metrics Dropwizard with the following in its NOTICE file: -| Apache Flink -| Copyright 2006-2026 The Apache Software Foundation -| -| This product includes software developed at -| The Apache Software Foundation (http://www.apache.org/). -| -| Flink : Metrics : Dropwizard -| Copyright 2014-2026 The Apache Software Foundation diff --git a/flink/v2.0/flink-runtime/NOTICE b/flink/v2.0/flink-runtime/NOTICE index f5e516ba8fc6..72916788b5e4 100644 --- a/flink/v2.0/flink-runtime/NOTICE +++ b/flink/v2.0/flink-runtime/NOTICE @@ -511,15 +511,3 @@ This product bundles Jackson JSON Processor with the following in its NOTICE fil | | See FastDoubleParser-NOTICE for details of other source code included in FastDoubleParser | and the licenses and copyrights that apply to that code. - --------------------------------------------------------------------------------- - -This product bundles Apache Flink Metrics Dropwizard with the following in its NOTICE file: -| Apache Flink -| Copyright 2006-2026 The Apache Software Foundation -| -| This product includes software developed at -| The Apache Software Foundation (http://www.apache.org/). -| -| Flink : Metrics : Dropwizard -| Copyright 2014-2026 The Apache Software Foundation diff --git a/flink/v2.1/flink-runtime/NOTICE b/flink/v2.1/flink-runtime/NOTICE index f5e516ba8fc6..72916788b5e4 100644 --- a/flink/v2.1/flink-runtime/NOTICE +++ b/flink/v2.1/flink-runtime/NOTICE @@ -511,15 +511,3 @@ This product bundles Jackson JSON Processor with the following in its NOTICE fil | | See FastDoubleParser-NOTICE for details of other source code included in FastDoubleParser | and the licenses and copyrights that apply to that code. - --------------------------------------------------------------------------------- - -This product bundles Apache Flink Metrics Dropwizard with the following in its NOTICE file: -| Apache Flink -| Copyright 2006-2026 The Apache Software Foundation -| -| This product includes software developed at -| The Apache Software Foundation (http://www.apache.org/). -| -| Flink : Metrics : Dropwizard -| Copyright 2014-2026 The Apache Software Foundation From 330d52360ad600e9aadc860fda77ba26dd673c0a Mon Sep 17 00:00:00 2001 From: Maximilian Michels Date: Tue, 28 Apr 2026 10:06:54 +0200 Subject: [PATCH 6/8] fixup! Adjust LICENSE changes --- flink/v1.20/flink-runtime/LICENSE | 4 ++-- flink/v2.0/flink-runtime/LICENSE | 4 ++-- flink/v2.1/flink-runtime/LICENSE | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/flink/v1.20/flink-runtime/LICENSE b/flink/v1.20/flink-runtime/LICENSE index dce8dd82afe6..e8c4c4a0bdf7 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,7 +564,7 @@ License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2 -------------------------------------------------------------------------------- -This product bundles Apache Flink Metrics Dropwizard. +This product bundles Apache Flink's optional support for Dropwizard Metrics. Copyright: 2014-2026 The Apache Software Foundation Project URL: https://flink.apache.org/ diff --git a/flink/v2.0/flink-runtime/LICENSE b/flink/v2.0/flink-runtime/LICENSE index dce8dd82afe6..e8c4c4a0bdf7 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,7 +564,7 @@ License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2 -------------------------------------------------------------------------------- -This product bundles Apache Flink Metrics Dropwizard. +This product bundles Apache Flink's optional support for Dropwizard Metrics. Copyright: 2014-2026 The Apache Software Foundation Project URL: https://flink.apache.org/ diff --git a/flink/v2.1/flink-runtime/LICENSE b/flink/v2.1/flink-runtime/LICENSE index dce8dd82afe6..e8c4c4a0bdf7 100644 --- a/flink/v2.1/flink-runtime/LICENSE +++ b/flink/v2.1/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,7 +564,7 @@ License: Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2 -------------------------------------------------------------------------------- -This product bundles Apache Flink Metrics Dropwizard. +This product bundles Apache Flink's optional support for Dropwizard Metrics. Copyright: 2014-2026 The Apache Software Foundation Project URL: https://flink.apache.org/ From 52b5c0bdb83e78b34b2a10a40623a54ad5d461fa Mon Sep 17 00:00:00 2001 From: Maximilian Michels Date: Tue, 28 Apr 2026 10:10:00 +0200 Subject: [PATCH 7/8] fixup! Revert whitespace change --- flink/v1.20/build.gradle | 1 - flink/v2.0/build.gradle | 1 - flink/v2.1/build.gradle | 1 - 3 files changed, 3 deletions(-) diff --git a/flink/v1.20/build.gradle b/flink/v1.20/build.gradle index ee1270817f5a..2bbad1891c81 100644 --- a/flink/v1.20/build.gradle +++ b/flink/v1.20/build.gradle @@ -156,7 +156,6 @@ project(":iceberg-flink:iceberg-flink-runtime-${flinkMajorVersion}") { implementation(project(":iceberg-flink:iceberg-flink-${flinkMajorVersion}")) { exclude group: 'org.apache.flink' } - implementation project(':iceberg-aws') implementation project(':iceberg-azure') implementation(project(':iceberg-aliyun')) { diff --git a/flink/v2.0/build.gradle b/flink/v2.0/build.gradle index 7961685383be..626cc01b28e3 100644 --- a/flink/v2.0/build.gradle +++ b/flink/v2.0/build.gradle @@ -156,7 +156,6 @@ project(":iceberg-flink:iceberg-flink-runtime-${flinkMajorVersion}") { implementation(project(":iceberg-flink:iceberg-flink-${flinkMajorVersion}")) { exclude group: 'org.apache.flink' } - implementation project(':iceberg-aws') implementation project(':iceberg-azure') implementation(project(':iceberg-aliyun')) { diff --git a/flink/v2.1/build.gradle b/flink/v2.1/build.gradle index 9fe01798e545..6dc373e6b566 100644 --- a/flink/v2.1/build.gradle +++ b/flink/v2.1/build.gradle @@ -156,7 +156,6 @@ project(":iceberg-flink:iceberg-flink-runtime-${flinkMajorVersion}") { implementation(project(":iceberg-flink:iceberg-flink-${flinkMajorVersion}")) { exclude group: 'org.apache.flink' } - implementation project(':iceberg-aws') implementation project(':iceberg-azure') implementation(project(':iceberg-aliyun')) { From 015f0cd065102f6dd3f04bdd9d0b1ed384649470 Mon Sep 17 00:00:00 2001 From: Maximilian Michels Date: Tue, 28 Apr 2026 10:18:20 +0200 Subject: [PATCH 8/8] fixup! Keep only Flink 2.1 changes for easier review --- 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, 6 insertions(+), 22 deletions(-) diff --git a/flink/v1.20/build.gradle b/flink/v1.20/build.gradle index 2bbad1891c81..772133c8e1d8 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 - // dropwizard histogram metrics (optional in Flink) + // for dropwizard histogram metrics implementation 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' } - // To support dropwizard histogram metrics (not shipped by Flink by default) + // for dropwizard histogram metrics implementation 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 e8c4c4a0bdf7..36a03cb4fcf9 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 Dropwizard Metrics. +This product bundles Codahale Metrics. Copyright: (c) 2010-2013 Coda Hale, Yammer.com, 2014-2021 Dropwizard Team Project URL: https://github.com/dropwizard/metrics @@ -564,14 +564,6 @@ 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 626cc01b28e3..b276cb90dd24 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 - // dropwizard histogram metrics (optional in Flink) + // for dropwizard histogram metrics implementation 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' } - // To support dropwizard histogram metrics (not shipped by Flink by default) + // for dropwizard histogram metrics implementation 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 e8c4c4a0bdf7..36a03cb4fcf9 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 Dropwizard Metrics. +This product bundles Codahale Metrics. Copyright: (c) 2010-2013 Coda Hale, Yammer.com, 2014-2021 Dropwizard Team Project URL: https://github.com/dropwizard/metrics @@ -564,14 +564,6 @@ 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