xiangfu0 opened a new issue, #20374: URL: https://github.com/apache/pinot/issues/20374
Pinot 1.6.0 moved services to Java 25 and kept Java 11 support for the Java/JDBC clients and selected shared artifacts. I propose Java 17 as the minimum build target and runtime for `pinot-java-client`, `pinot-jdbc-client`, and `pinot-common` starting in 1.7.0. [1.6.0 upgrade notes](https://github.com/apache/pinot/releases/tag/release-1.6.0#upgrade-notes-and-removals) ## Motivation Arrow Java 20 requires Java 17. Both clients get Arrow through `pinot-common`, so the dependency bump in #20347 fails the Java 11 runtime verifier when it loads Arrow classes in response encoding and gRPC decoding. The proposed change makes the client runtime requirement explicit and allows us to validate the Arrow upgrade against it. [Arrow 20 release notes](https://arrow.apache.org/blog/2026/11/21/arrow-java-20.0.0/) · [Failing CI job](https://github.com/apache/pinot/actions/runs/45162032403/job/137649574922) ## Scope and validation - Target Java 17 bytecode for both clients and `pinot-common`. Pinot services continue to build and run with Java 25. Keep separate Java 11 checks for `pinot-spi`, `pinot-segment-spi`, and `pinot-timeseries-spi`. - Build with JDK 25 and run the client compatibility verifier on a real Java 17 JVM. Cover the resolved runtime dependencies, Java and JDBC queries, and Arrow and gRPC response paths. - Update the compatibility matrix and 1.7.0 upgrade notes. Verify that 1.6.0 clients on Java 11 can query a 1.7.0 broker as a migration path. Land the baseline change before refreshing #20347. ## Upgrade impact Applications on Java 11 would need to upgrade their JVM before adopting the 1.7.0 client artifacts. MetaForge and Hypertrace still ship Java 11 with older Pinot clients. If you use either client or depend on `pinot-common` on Java 11, please share what would block a move to Java 17 and how much lead time you would need. [MetaForge runtime](https://github.com/devlive-community/metaforge/blob/2026.0.0/Dockerfile#L1) · [Hypertrace dependency](https://github.com/hypertrace/query-service/blob/0.8.30/query-service-impl/build.gradle.kts#L67-L74) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
