Skip to content

Upgrade Guava to 33.8.0-jre - #28

Open
sahusanket wants to merge 1 commit into
developfrom
feat/guava-33.7.2
Open

sahusanket wants to merge 1 commit into
developfrom
feat/guava-33.7.2

Conversation

@sahusanket

@sahusanket sahusanket commented Nov 24, 2026 •

Copy link
Copy Markdown

Depends on: cdapio/cdap#16385, cdapio/common#92, cdapio/twill#75 (supersedes #27)

Summary

Upgrade com.google.guava:guava from 13.0.1 to 33.8.0-jre (CVE-2026-102554, CVE-2026-118042), bump org.apache.commons:commons-text to 1.15.0, and align cdap.version (6.12.0-SNAPSHOT), hadoop.version (3.3.6), and spark3.version (3.3.2) on develop with minimal compatibility adjustments.

Changes

  • pom.xml: set guava.version to 33.8.0-jre in <dependencyManagement>, align cdap.version to 6.12.0-SNAPSHOT, hadoop.version to 3.3.6 (with commons-text:1.15.0 and reload4j exclusions), spark3.version to 3.3.2, and drop removed -XX:MaxPermSize / CMS flags from Surefire for JDK 11 test execution.
  • confluent-kafka-plugins/pom.xml: switch Confluent Maven repository URL to HTTPS and upgrade scala-maven-plugin to 4.9.2 (--release 8) for Java 8 bytecode generation under JDK 11.
  • Test suites (ConfluentStreamingSinkTest, AbstractKafkaBatchSourceTest, ConfluentStreamingTestBase, ConfluentStreamingSource*Test, KafkaTestUtils): migrate removed Guava 13 Stopwatch and Service startAndWait() / stopAndWait() calls, replace removed Constants.Explore.EXPLORE_ENABLED, and guard external Confluent Cloud credential checks via JUnit Assume.assumeNotNull.

Verification

  • Maven Checkstyle and unit tests on Temurin JDK 11: 11 tests executed (8/8 config validation tests + 3/3 HydratorTestBase runtime startups, 0 failures, 0 errors, 3 credential-gated external ITs skipped), and re-verified compilation, Checkstyle, ConfluentStreamingSinkTest, and packaging with Guava 33.8.0-jre and commons-text 1.15.0.
  • Packaged JAR audit (confluent-kafka-plugins-2.1.0-SNAPSHOT.jar): embeds top-level lib/guava-33.8.0-jre.jar and lib/failureaccess-1.0.3.jar (0 < 33.8.0 top-level Guava JARs, plugin bytecode v52).
  • Live Cloud Data Fusion Autopush E2E (guava32-j11-e2e, namespace e2e_p07): USER artifact upload, /extensions (streamingsource, sparksink), widget/doc /properties, positive macro and negative field-attributed /validations/stage, and Spark Preview (624af1c4-e85c-11f1-a21b-823cb18e9d62, COMPLETED, 0 linkage errors across pod and preview logs) all passed.
  • E2E report: https://docs.google.com/document/d/1LYQb2ZosvxXKipblamnPzEjwqlXNDUUUgGPnRo-zZOs/edit

@sahusanket sahusanket added the build Trigger unit test build label Nov 24, 2026
@sahusanket sahusanket changed the title Upgrade Guava to 33.7.2-jre Upgrade Guava to 33.8.0-jre Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Trigger unit test build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant