bobbai00 opened a new pull request, #4938:
URL: https://github.com/apache/texera/pull/4938
### What changes were proposed in this PR?
Bump all Scala/Java microservices from Java 11 to Java 17 LTS.
- **8 Dockerfiles under `bin/`**: build base
`sbtscala/scala-sbt:eclipse-temurin-jammy-11.0.17_8_1.9.3_2.13.11` →
`...-17.0.5_8_1.9.3_2.13.11` (same sbt 1.9.3 + Scala 2.13.11); runtime
`eclipse-temurin:11-{jdk,jre}-jammy` → `17-{jdk,jre}-jammy`.
- **`bin/computing-unit-{master,worker}.dockerfile`**: add `ENV
JDK_JAVA_OPTIONS="--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED"`
so Apache Arrow's off-heap memory module keeps working under Java 17's strong
encapsulation. Other 6 service images don't exercise Arrow off-heap.
- **`.github/workflows/build.yml` + `build-and-push-images.yml`**:
`java-version: 11` → `17` (matrix entries + 5 `setup-java` steps).
- **`AGENTS.md`**: toolchain table.
### Any related issues, documentation, discussions?
Closes #4937. Refs discussion #4001 (Java 17 readiness assessment — only
minor changes needed).
### How was this PR tested?
Will be exercised end-to-end by CI (`build.yml` builds + tests under Java
17, `build-and-push-images.yml` produces the multi-arch images). Locally
validated that the chosen sbt image tag exists on Docker Hub and that the only
known runtime tweak (Arrow `--add-opens`) is in place for the workers that need
it.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Opus 4.7)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]