[Build] Raise StreamPark compile and CI baseline to JDK 11#4417
Merged
Conversation
Set Maven release 11, update Spotless compliance, switch Docker and CI workflows to JDK 11, and align module compiler overrides. Closes apache#4409 (part 3/3). Ref apache#4410. Generated-by: Cursor Co-authored-by: Cursor <cursoragent@cursor.com>
Walk the class hierarchy to locate the ucp field on JDK 11+ app classloaders, add JUnit coverage, and enable surefire add-opens on JDK 9+. Closes apache#4409 (part 1/3). Ref apache#4410. Generated-by: Cursor Co-authored-by: Cursor <cursoragent@cursor.com>
Enable add-opens JVM opts, enforce JDK 11+ at startup, fix classpath layout, add javax.annotation-api, and document Console vs job JDK requirements. Closes apache#4409 (part 2/3). Ref apache#4410. Generated-by: Cursor Co-authored-by: Cursor <cursoragent@cursor.com>
Compile MavenWrapperHelper with --release 11 at runtime and stop packaging prebuilt wrapper classes so project builds work in JDK 11 containers. Update basic E2E for Docker 29, local Chrome, Git SSL, and Projects page flows verified on macOS. Generated-by: Cursor Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jul 5, 2026
Update root POM version and build script banner to reflect the 3.0 preview release line. Co-authored-by: Cursor <cursoragent@cursor.com>
- Ignore webapp-v2 paths in Backend and Unit-Test workflows - Bump dorny/paths-filter action pin - Fail E2E workflow when test jobs fail (exit 1) Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
wolfboys
reviewed
Jul 12, 2026
| RUN \ | ||
| if [ "$TARGETPLATFORM" = "linux/arm64" ];then \ | ||
| sudo rm -f /etc/yum.repos.d/*.repo; \ | ||
| sudo wget http://mirrors.aliyun.com/repo/Centos-altarch-7.repo -O /etc/yum.repos.d/CentOS-Base.repo; \ |
Member
There was a problem hiding this comment.
wget http://mirrors.aliyun.com/repo/Centos-altarch-7.repo -O /etc/yum.repos.d/CentOS-Base.repo
The URL is inaccessible. Please provide the public CentOS repository addresses here, not aliyun
Closed
1 task
shangeyao
force-pushed
the
build/jdk11-baseline
branch
from
July 14, 2026 14:56
aa497e1 to
5ccd07b
Compare
…heck Add the JSR-250 annotation API to known dependencies and release license docs so Backend CI passes after the JDK 11 baseline upgrade. Co-authored-by: Cursor <cursoragent@cursor.com>
Replace Java 8 in Hadoop-based Yarn test images so StreamPark Console can start after the JDK 11 baseline upgrade. Co-authored-by: Cursor <cursoragent@cursor.com>
Resolve Yarn E2E Dockerfile conflicts by bundling Eclipse Temurin JDK 11 instead of CentOS yum, preserving dev's mirror-retirement fix while meeting StreamPark 3.0 JDK 11 runtime requirements. Co-authored-by: Cursor <cursoragent@cursor.com>
|
This was referenced Jul 22, 2026
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
Raise StreamPark 3.0 compile and runtime baseline to JDK 11:
project.build.jdk=11and update CI workflows (backend, unit-test, E2E)ClassLoaderUtilsdynamic classpath on JDK 9+ (--add-opens/ module path)streampark-env.sh, assembly scripts, upgrade guide)Related issues
Closes #4409.
Test plan
./mvnw clean install -Pfast -pl streampark-console/streampark-console-service -am -DskipTestson JDK 11AI Disclosure
Made with Cursor