Thanks all for the advice. From my experience, using a high version JDK environment for a standalone server in an enterprise isn't a blocker point. The user could use docker image or install a separate JDK like Trino. Please tell me if there are any blocking points! I will start to upgrade in 7.16 if there are no objections.
Best, Xiaojing Minghuang Li <[email protected]> 于2025年7月11日周五 21:39写道: > > +1 for moving the server to JDK 17 while keeping clients on JDK 8. It will > make maintenance > much easier and let us modernize the server, without breaking things for our > users. > > For the downside mentioned above by others, I suggest we: > > 1. Make sure we have a clear consensus from the community. > 2. Create a tracking issue to plan the work, including a target release and a > checklist (build, > CI, docs, docker image, etc.). > 3. Get the infrastructure and upgrade guides ready ahead of time to make the > transition > smooth for users. > > Best regards, > Minghuang Li > > 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 > >
