It's ok for me to upgrade the JDK support to 17, which is more secure and 
stable, according to the 
survey(https://newrelic.com/resources/report/2024-state-of-the-java-ecosystem) 
JDK 17 is the most popular version in the Java ecosystem. Nevertheless, there 
are still some matters that we need to address.

- If you are using the `Hadoop` catalog, you need to ensure that the Hadoop 
version is compatible with JDK 17. Some older versions of Hadoop may not work 
properly with JDK 17.
- Upgrading the JDK to 17 means that any users who are using the Gravitino 
server currently need to upgrade their JDK to 17 as well. I'm afraid that some 
users may not be able to upgrade their JDK to 17 due to compatibility issues 
with their applications or the environment.

Anyway, the issues mentioned above don't prevent upgrading the JDK to 17, and I 
had the same idea long ago. 

On 2025/07/09 08:03:02 Fanng wrote:
> Hi,
>     I want to propose a discussion about upgrading the minimum JDK
> version of  the Gravitino server to 17 while keeping the Gravitino
> client and Spark&Flink connector JDK version to 8 to keep
> compatibility.
>     Recently, I'm working on upgrading the Iceberg version from 1.6 to
> 1.9 for IRC to support more interfaces. Still, Iceberg 1.7 drops the
> support for JDK8, so I had to split Iceberg code to common-module
> which contains legacy code for old version and modern-module which
> contains the code for Iceberg new version. User could choose the
> Iceberg version when compiling Gravitino, and we should provide
> Gravitino server and IRC server for old and new Iceberg version
> seperately. Please refer to
> https://github.com/apache/gravitino/pull/7418 for more details. It's
> hard to maintain for both the developer and the user.
>      So how about upgrading our Gravitino server min JDK version to 17
> and leave Gravitino clients and connectors to 8, just like Trino
> server using High JDK version while Trino client using low JDK
> version? This will make the trade-off better for compatibility and
> simple usage, and maintenance of Gravitino.
> 
> 
> Best,
> Xiaojing
> 

Reply via email to