Skip to content

SNOW-3277710: Fix Netty native library conflict in thin JAR#2559

Merged
sfc-gh-dheyman merged 1 commit intomasterfrom
03-23-snow-3277710_fix_netty_native_library_conflict_in_thin_jar
Mar 23, 2026
Merged

SNOW-3277710: Fix Netty native library conflict in thin JAR#2559
sfc-gh-dheyman merged 1 commit intomasterfrom
03-23-snow-3277710_fix_netty_native_library_conflict_in_thin_jar

Conversation

@sfc-gh-dheyman
Copy link
Collaborator

@sfc-gh-dheyman sfc-gh-dheyman commented Mar 23, 2026

Overview

The thin JAR's shade config included io.netty:*, which bundled native .so/.jnilib files from transport modules (epoll, kqueue, dns-macos) that Arrow doesn't need. These unshaded native libraries conflict with consumer-provided Netty on the classpath.

Narrowed the artifact set to only io.netty:netty-common and io.netty:netty-buffer — the two modules Arrow actually depends on. These contain no native binaries.

Fixes: classpath conflict when consumers bring their own netty-transport-native-epoll alongside snowflake-jdbc-thin.

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@sfc-gh-dheyman sfc-gh-dheyman marked this pull request as ready for review March 23, 2026 10:09
@sfc-gh-dheyman sfc-gh-dheyman requested a review from a team as a code owner March 23, 2026 10:09
@sfc-gh-dheyman sfc-gh-dheyman force-pushed the 03-23-snow-3277710_fix_netty_native_library_conflict_in_thin_jar branch from 9e753b0 to 26e0441 Compare March 23, 2026 10:10
@sfc-gh-dheyman sfc-gh-dheyman force-pushed the 03-23-snow-3277710_fix_netty_native_library_conflict_in_thin_jar branch from 26e0441 to b316aa8 Compare March 23, 2026 10:12
Copy link
Collaborator Author

sfc-gh-dheyman commented Mar 23, 2026

Merge activity

  • Mar 23, 10:58 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Mar 23, 10:58 AM UTC: @sfc-gh-dheyman merged this pull request with Graphite.

@sfc-gh-dheyman sfc-gh-dheyman merged commit 25f0727 into master Mar 23, 2026
117 of 122 checks passed
@sfc-gh-dheyman sfc-gh-dheyman deleted the 03-23-snow-3277710_fix_netty_native_library_conflict_in_thin_jar branch March 23, 2026 10:58
@github-actions github-actions bot locked and limited conversation to collaborators Mar 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants