Repository navigation
Upgrade Guava from 32.0.0-jre to 33.8.0-jre - #92
Merged
Merged
Conversation
This was referenced Nov 24, 2026
sahusanket
added a commit
to cdapio/cdap
that referenced
this pull request
Nov 25, 2026
Move CDAP from Guava 13.0.1 to 33.7.2-jre and Guice 4.0 to 4.2.3 (no_aop), inherit root guava.version across all modules and extensions (importing guava-bom before libraries-bom where needed), pin guice-servlet to 4.2.3, and pick up the Twill (1.5.0-SNAPSHOT) and cdap-common (0.15.0-SNAPSHOT) builds compiled against Guava 33.7.2-jre (cdapio/twill#75, cdapio/common#92). API replacements keeping Guava 13 behavior: - Service start/stop: Guava 32+ removed start(), stop(), startAndWait(), and stopAndWait(). Callers use helpers in io.cdap.cdap.common.service.Services with fast-path state returns (no listener retention on idempotent calls), immediate failure propagation if startAsync() throws while still NEW, and concurrent shutdown handling. - KafkaClientModule reference-counted ForwardingZKClientService overrides awaitRunning() for non-owned shared and already-terminated clients, guards startAsync() on non-NEW state, clamps stopAsync() reference counts at zero, and guards awaitTerminated() on unstarted NEW state. - Objects.toStringHelper/firstNonNull -> MoreObjects; Stopwatch constructors and elapsedTime/elapsedMillis -> createStarted/createUnstarted/elapsed; sameThreadExecutor -> directExecutor/newDirectExecutorService; hashString/ putString -> hashUnencodedChars/putUnencodedChars; Closeables.closeQuietly -> io.cdap.cdap.common.io.Closeables. Behavior parity, classloading, caching, and Tephra: - Remove obsolete GuavaClassRewriter from MainClassLoader now that Guava 33.7.2-jre natively provides MoreExecutors.directExecutor() and Preconditions overloads. - DefaultCube builds a HashMap-backed table to preserve metric series order. - AbstractRetryableScheduledService, CoreSchedulerService, LocalLogProcessorPipeline, WorkerDriver, and OperationDriver override serviceName() to preserve thread names. - SparkResourceFilter drops the Guava Optional parent passthrough and fixes acceptPackage(); DefaultArtifactInspector, PluginClassLoader, and ArtifactClassLoaderFactory filter parent artifacts by Export-Package. - DataprocRuntimeJobManager stamps and verifies cdap.build.time metadata on cached GCS twill/launcher jars and scopes local cache dirs by build time; DataprocJobMain sorts expanded lib jars deterministically by filename. - 19 Tephra 0.15.0-incubating classes are forked into cdap-data-fabric (with TransactionManager startAndWait/stopAndWait bridges) and stripped from staged tephra-core jars in dist, deb-prepare, cdap-gateway, and K8s Spark; cdap-coverage and cdap-unit-test place cdap-data-fabric ahead of cdap-tms/tephra-core.
sahusanket
added a commit
to cdapio/cdap
that referenced
this pull request
Nov 25, 2026
Move CDAP from Guava 13.0.1 to 33.7.2-jre and Guice 4.0 to 4.2.3 (no_aop), inherit root guava.version across all modules and extensions (importing guava-bom before libraries-bom where needed), pin guice-servlet to 4.2.3, and pick up the Twill (1.5.0-SNAPSHOT) and cdap-common (0.15.0-SNAPSHOT) builds compiled against Guava 33.7.2-jre (cdapio/twill#75, cdapio/common#92). API replacements keeping Guava 13 behavior: - Service start/stop: Guava 32+ removed start(), stop(), startAndWait(), and stopAndWait(). Callers use helpers in io.cdap.cdap.common.service.Services with fast-path state returns (no listener retention on idempotent calls), immediate failure propagation if startAsync() throws while still NEW, and concurrent shutdown handling. - KafkaClientModule reference-counted ForwardingZKClientService overrides awaitRunning() for non-owned shared and already-terminated clients, guards startAsync() on non-NEW state, clamps stopAsync() reference counts at zero, and guards awaitTerminated() on unstarted NEW state. - Objects.toStringHelper/firstNonNull -> MoreObjects; Stopwatch constructors and elapsedTime/elapsedMillis -> createStarted/createUnstarted/elapsed; sameThreadExecutor -> directExecutor/newDirectExecutorService; hashString/ putString -> hashUnencodedChars/putUnencodedChars; Closeables.closeQuietly -> io.cdap.cdap.common.io.Closeables. Behavior parity, classloading, caching, and Tephra: - Remove obsolete GuavaClassRewriter from MainClassLoader now that Guava 33.7.2-jre natively provides MoreExecutors.directExecutor() and Preconditions overloads. - DefaultCube builds a HashMap-backed table to preserve metric series order. - AbstractRetryableScheduledService, CoreSchedulerService, LocalLogProcessorPipeline, WorkerDriver, and OperationDriver override serviceName() to preserve thread names. - SparkResourceFilter drops the Guava Optional parent passthrough and fixes acceptPackage(); DefaultArtifactInspector, PluginClassLoader, and ArtifactClassLoaderFactory filter parent artifacts by Export-Package. - DataprocRuntimeJobManager stamps and verifies cdap.build.time metadata on cached GCS twill/launcher jars and scopes local cache dirs by build time; DataprocJobMain sorts expanded lib jars deterministically by filename. - 19 Tephra 0.15.0-incubating classes are forked into cdap-data-fabric (with TransactionManager startAndWait/stopAndWait bridges) and stripped from staged tephra-core jars in dist, deb-prepare, cdap-gateway, and K8s Spark; cdap-coverage and cdap-unit-test place cdap-data-fabric ahead of cdap-tms/tephra-core.
sahusanket
added a commit
to cdapio/cdap
that referenced
this pull request
Nov 25, 2026
Move CDAP from Guava 13.0.1 to 33.7.2-jre and Guice 4.0 to 4.2.3 (no_aop), inherit root guava.version across all modules and extensions (importing guava-bom before libraries-bom where needed), pin guice-servlet to 4.2.3, and pick up the Twill (1.5.0-SNAPSHOT) and cdap-common (0.15.0-SNAPSHOT) builds compiled against Guava 33.7.2-jre (cdapio/twill#75, cdapio/common#92). API replacements keeping Guava 13 behavior: - Service start/stop: Guava 32+ removed start(), stop(), startAndWait(), and stopAndWait(). Callers use helpers in io.cdap.cdap.common.service.Services with fast-path state returns (no listener retention on idempotent calls), immediate failure propagation if startAsync() throws while still NEW, and concurrent shutdown handling. - KafkaClientModule reference-counted ForwardingZKClientService overrides awaitRunning() for non-owned shared and already-terminated clients, guards startAsync() on non-NEW state, clamps stopAsync() reference counts at zero, and guards awaitTerminated() on unstarted NEW state. - Objects.toStringHelper/firstNonNull -> MoreObjects; Stopwatch constructors and elapsedTime/elapsedMillis -> createStarted/createUnstarted/elapsed; sameThreadExecutor -> directExecutor/newDirectExecutorService; hashString/ putString -> hashUnencodedChars/putUnencodedChars; Closeables.closeQuietly -> io.cdap.cdap.common.io.Closeables. Behavior parity, classloading, caching, and Tephra: - Remove obsolete GuavaClassRewriter from MainClassLoader now that Guava 33.7.2-jre natively provides MoreExecutors.directExecutor() and Preconditions overloads. - DefaultCube builds a HashMap-backed table to preserve metric series order. - AbstractRetryableScheduledService, CoreSchedulerService, LocalLogProcessorPipeline, WorkerDriver, and OperationDriver override serviceName() to preserve thread names. - SparkResourceFilter drops the Guava Optional parent passthrough and fixes acceptPackage(); DefaultArtifactInspector, PluginClassLoader, and ArtifactClassLoaderFactory filter parent artifacts by Export-Package. - DataprocRuntimeJobManager stamps and verifies cdap.build.time metadata on cached GCS twill/launcher jars and scopes local cache dirs by build time; DataprocJobMain sorts expanded lib jars deterministically by filename. - 19 Tephra 0.15.0-incubating classes are forked into cdap-data-fabric (with TransactionManager startAndWait/stopAndWait bridges) and stripped from staged tephra-core jars in dist, deb-prepare, cdap-gateway, and K8s Spark; cdap-coverage and cdap-unit-test place cdap-data-fabric ahead of cdap-tms/tephra-core.
vsethi09
reviewed
Nov 25, 2026
| <findbugs.jsr305.version>2.0.1</findbugs.jsr305.version> | ||
| <geronimo.version>2.0.0</geronimo.version> | ||
| <guava.version>32.0.0-jre</guava.version> | ||
| <guava.version>33.7.2-jre</guava.version> |
There was a problem hiding this comment.
vsethi09
approved these changes
Nov 25, 2026
Bump com.google.guava:guava from 32.0.0-jre to 33.8.0-jre so cdapio/common and downstream consumers pick up fixes for CVE-2026-102554 and CVE-2026-118042.
sahusanket
force-pushed
the
feat/guava-33.7.2
branch
from
November 25, 2026 09:41
abb4f97 to
e2ee20a
Compare
sahusanket
added a commit
to cdapio/cdap
that referenced
this pull request
Nov 25, 2026
Move CDAP from Guava 13.0.1 to 33.8.0-jre (resolving CVE-2026-102554 and CVE-2026-118042) and Guice 4.0 to 4.2.3 (no_aop), inherit root guava.version across all modules and extensions (importing guava-bom before libraries-bom where needed), pin guice-servlet to 4.2.3, and pick up the Twill (1.5.0-SNAPSHOT) and cdap-common (0.15.0-SNAPSHOT) builds compiled against Guava 33.8.0-jre (cdapio/twill#75, cdapio/common#92). API replacements keeping Guava 13 behavior: - Service start/stop: Guava 32+ removed start(), stop(), startAndWait(), and stopAndWait(). Callers use helpers in io.cdap.cdap.common.service.Services with fast-path state returns (no listener retention on idempotent calls), immediate failure propagation if startAsync() throws while still NEW, and concurrent shutdown handling. - KafkaClientModule reference-counted ForwardingZKClientService overrides awaitRunning() for non-owned shared and already-terminated clients, guards startAsync() on non-NEW state, clamps stopAsync() reference counts at zero, and guards awaitTerminated() on unstarted NEW state. - Objects.toStringHelper/firstNonNull -> MoreObjects; Stopwatch constructors and elapsedTime/elapsedMillis -> createStarted/createUnstarted/elapsed; sameThreadExecutor -> directExecutor/newDirectExecutorService; hashString/ putString -> hashUnencodedChars/putUnencodedChars; Closeables.closeQuietly -> io.cdap.cdap.common.io.Closeables. Behavior parity, classloading, caching, and Tephra: - Remove obsolete GuavaClassRewriter from MainClassLoader now that Guava 33.8.0-jre natively provides MoreExecutors.directExecutor() and Preconditions overloads. - DefaultCube builds a HashMap-backed table to preserve metric series order. - AbstractRetryableScheduledService, CoreSchedulerService, LocalLogProcessorPipeline, WorkerDriver, and OperationDriver override serviceName() to preserve thread names. - SparkResourceFilter drops the Guava Optional parent passthrough and fixes acceptPackage(); DefaultArtifactInspector, PluginClassLoader, and ArtifactClassLoaderFactory filter parent artifacts by Export-Package. - DataprocRuntimeJobManager stamps and verifies cdap.build.time metadata on cached GCS twill/launcher jars and scopes local cache dirs by build time; DataprocJobMain sorts expanded lib jars deterministically by filename. - 19 Tephra 0.15.0-incubating classes are forked into cdap-data-fabric (with TransactionManager startAndWait/stopAndWait bridges) and stripped from staged tephra-core jars in dist, deb-prepare, cdap-gateway, and K8s Spark; cdap-coverage and cdap-unit-test place cdap-data-fabric ahead of cdap-tms/tephra-core.
sahusanket
added a commit
to cdapio/cdap
that referenced
this pull request
Nov 25, 2026
Move CDAP from Guava 13.0.1 to 33.8.0-jre (resolving CVE-2026-102554 and CVE-2026-118042) and Guice 4.0 to 4.2.3 (no_aop), inherit root guava.version across all modules and extensions (importing guava-bom before libraries-bom where needed), pin guice-servlet to 4.2.3, and pick up the Twill (1.5.0-SNAPSHOT) and cdap-common (0.15.0-SNAPSHOT) builds compiled against Guava 33.8.0-jre (cdapio/twill#75, cdapio/common#92). API replacements keeping Guava 13 behavior: - Service start/stop: Guava 32+ removed start(), stop(), startAndWait(), and stopAndWait(). Callers use helpers in io.cdap.cdap.common.service.Services with fast-path state returns (no listener retention on idempotent calls), immediate failure propagation if startAsync() throws while still NEW, and concurrent shutdown handling. - KafkaClientModule reference-counted ForwardingZKClientService overrides awaitRunning() for non-owned shared and already-terminated clients, guards startAsync() on non-NEW state, clamps stopAsync() reference counts at zero, and guards awaitTerminated() on unstarted NEW state. - Objects.toStringHelper/firstNonNull -> MoreObjects; Stopwatch constructors and elapsedTime/elapsedMillis -> createStarted/createUnstarted/elapsed; sameThreadExecutor -> directExecutor/newDirectExecutorService; hashString/ putString -> hashUnencodedChars/putUnencodedChars; Closeables.closeQuietly -> io.cdap.cdap.common.io.Closeables. Behavior parity, classloading, caching, and Tephra: - Remove obsolete GuavaClassRewriter from MainClassLoader now that Guava 33.8.0-jre natively provides MoreExecutors.directExecutor() and Preconditions overloads. - DefaultCube builds a HashMap-backed table to preserve metric series order. - AbstractRetryableScheduledService, CoreSchedulerService, LocalLogProcessorPipeline, WorkerDriver, and OperationDriver override serviceName() to preserve thread names. - SparkResourceFilter drops the Guava Optional parent passthrough and fixes acceptPackage(); DefaultArtifactInspector, PluginClassLoader, and ArtifactClassLoaderFactory filter parent artifacts by Export-Package. - DataprocRuntimeJobManager stamps and verifies cdap.build.time metadata on cached GCS twill/launcher jars and scopes local cache dirs by build time; DataprocJobMain sorts expanded lib jars deterministically by filename. - 19 Tephra 0.15.0-incubating classes are forked into cdap-data-fabric (with TransactionManager startAndWait/stopAndWait bridges) and stripped from staged tephra-core jars in dist, deb-prepare, cdap-gateway, and K8s Spark; cdap-coverage and cdap-unit-test place cdap-data-fabric ahead of cdap-tms/tephra-core.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bump
com.google.guava:guavafrom32.0.0-jreto33.8.0-jrebefore cutting the0.15.0release socdapio/commonand downstream consumers resolve bothCVE-2026-102554andCVE-2026-118042(>= 33.8.0-jre).Testing
mvn clean install(including unit tests and Checkstyle) passed across all 6 reactor modules on Java 11.