Skip to content

Kafka Connect: include hadoop-auth and commons-configuration2 in runtime distro#15608

Draft
adp2201 wants to merge 1 commit intoapache:mainfrom
adp2201:codex/13691-kafka-connect-runtime-deps
Draft

Kafka Connect: include hadoop-auth and commons-configuration2 in runtime distro#15608
adp2201 wants to merge 1 commit intoapache:mainfrom
adp2201:codex/13691-kafka-connect-runtime-deps

Conversation

@adp2201
Copy link

@adp2201 adp2201 commented Mar 12, 2026

Fixes #13691

Summary

This draft removes two runtime dependency excludes in kafka-connect/build.gradle for iceberg-kafka-connect-runtime:

  • org.apache.hadoop:hadoop-auth
  • org.apache.commons:commons-configuration2

Why

Local repro showed Hadoop catalog mode fails under Kafka Connect plugin isolation with:

  • NoClassDefFoundError: org/apache/commons/configuration2/Configuration
  • then NoClassDefFoundError: org/apache/hadoop/util/PlatformName

Including these two jars in the runtime distribution resolves the reproduced startup/classloading failure.

Notes

There are tradeoffs (bundle size/transitive surface/classpath conflict risk), so opening as draft for maintainer direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iceberg-kafka-connect-runtime fails with NoClassDefFoundError for org.apache.commons.configuration2.Configuration when used with Hadoop catalog

1 participant