Skip to content

[FLINK-40576][fs] Drop stale dependencies from flink-s3-fs-presto NOTICE - #29145

Open
spuru9 wants to merge 1 commit into
apache:masterfrom
spuru9:FLINK-40576
Open

spuru9 wants to merge 1 commit into
apache:masterfrom
spuru9:FLINK-40576

Conversation

@spuru9

@spuru9 spuru9 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

What is the purpose of the change

flink-s3-fs-presto listed org.alluxio:alluxio-shaded-client:2.8.1, software.amazon.ion:ion-java:1.0.2, and javax.xml.bind:jaxb-api:2.3.1 in META-INF/NOTICE. However, none of these are actually packaged into the shaded plugin JAR:

  • alluxio-shaded-client is only referenced by presto-cache, which is already excluded from presto-hive.
  • ion-java is a historical entry from older AWS SDK versions that is not pulled in.
  • jaxb-api is not bundled into the shaded JAR.

This cleans up the META-INF/NOTICE file to remove these stale entries and the unused CDDL 1.1 license block.

Brief change log

  • Remove org.alluxio:alluxio-shaded-client:2.8.1, software.amazon.ion:ion-java:1.0.2, and javax.xml.bind:jaxb-api:2.3.1 (including the CDDL 1.1 license section) from flink-filesystems/flink-s3-fs-presto/src/main/resources/META-INF/NOTICE.

Verifying this change

Verified that META-INF/NOTICE accurately matches the shaded dependencies of flink-s3-fs-presto and that no required entries are missing.

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

  • Dependencies (does it add or upgrade a dependency): no
  • 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 (only modifies NOTICE metadata)

Documentation

  • Does this pull request introduce a new feature? no

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: Antigravity (Gemini 3.8 Flash)

@flinkbot

flinkbot commented Sep 9, 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

@MartijnVisser MartijnVisser left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The NOTICE fix is right, the pom exclusion does not change anything. Can you correct the description too, it says this removes a bundled dependency and shrinks the jar. On Robert's question about dropping presto-hive, PrestoS3FileSystem is the only presto class this module uses.

that unnecessarily bloats the bundle. -->
<exclusion>
<groupId>org.alluxio</groupId>
<artifactId>alluxio-shaded-client</artifactId>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a no-op. org.alluxio is not in this module's tree on master and the shaded jar has no alluxio/ entries. Presto only pulls it via presto-cache, which is already excluded here.

- io.airlift:slice:0.38
- io.airlift:units:1.3
- joda-time:joda-time:2.5
- org.alluxio:alluxio-shaded-client:2.8.1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

software.amazon.ion:ion-java:1.0.2 and javax.xml.bind:jaxb-api:2.3.1 are stale in the same way, want to remove those too? The checker only tolerates them, so CI never complained.

org.alluxio:alluxio-shaded-client is not bundled in flink-s3-fs-presto
because presto-cache is already excluded from presto-hive. Similarly,
software.amazon.ion:ion-java and javax.xml.bind:jaxb-api are not shaded
into the plugin artifact.

Drop these stale entries (and the CDDL 1.1 section) from the bundled
META-INF/NOTICE file so it accurately reflects the packaged dependencies.

Generated-by: Antigravity (Gemini 3.8 Flash)
@spuru9 spuru9 changed the title [FLINK-40576][fs] Exclude transitive alluxio dependency from flink-s3-fs-presto [FLINK-40576][fs] Drop stale dependencies from flink-s3-fs-presto NOTICE Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants