Skip to content

[FLINK-39139] Update lz4-java to 1.10.3#27645

Merged
1996fanrui merged 1 commit into
apache:release-2.1from
Nordix:bump-lz4-2.1
Feb 25, 2026
Merged

[FLINK-39139] Update lz4-java to 1.10.3#27645
1996fanrui merged 1 commit into
apache:release-2.1from
Nordix:bump-lz4-2.1

Conversation

@eschcam

@eschcam eschcam commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

What is the purpose of the change

lz4-java 1.8.0 has the following CVEs:

It has also been relocated to at.yawk.lz4

This is a backport of #27535

Brief change log

  • Update lz4-java to 1.10.3

Verifying this change

Passes local tests

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): yes
  • The public API, i.e., is any changed class annotated with @Public(Evolving): no
  • The serializers: no
  • The runtime per-record code paths (performance sensitive): no
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
  • The S3 file system connector: no

Documentation

  • Does this pull request introduce a new feature? no
  • If yes, how is the feature documented? not applicable

@flinkbot

flinkbot commented Feb 23, 2026

Copy link
Copy Markdown
Collaborator

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@eschcam eschcam changed the title [Hotfix] Update lz4-java to 1.10.3 [FLINK-39139] Update lz4-java to 1.10.3 Feb 23, 2026
@1996fanrui 1996fanrui merged commit 7beaca7 into apache:release-2.1 Feb 25, 2026
@eschcam eschcam deleted the bump-lz4-2.1 branch February 26, 2026 10:01
@Abacn

Abacn commented Jun 17, 2026

Copy link
Copy Markdown

It's causing module conflicts if org.lz4:lz4-java also exists in the dependency tree, which is common (used by kafka-client):

> Could not resolve org.lz4:lz4-java:1.8.0.
         > Module 'org.lz4:lz4-java' has been rejected:
              Cannot select module with conflict on capability 'org.lz4:lz4-java:1.8.0' also provided by [at.yawk.lz4:lz4-java:1.10.3(runtimeElements)]
      > Could not resolve at.yawk.lz4:lz4-java:1.10.3.
         > Module 'at.yawk.lz4:lz4-java' has been rejected:
              Cannot select module with conflict on capability 'org.lz4:lz4-java:1.10.3' also provided by [org.lz4:lz4-java:1.8.0(runtime)]

as a result one needs to exclude one of is or use a dependencyResolution, however downstream could still be breaking. See apache/beam#38961 (comment) for details

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.

6 participants