markhoerth commented on issue #14307:
URL: https://github.com/apache/gravitino/issues/14307#issuecomment-6713905984
Still present on main at commit a573e3c39680ec673162dff401576a21ae21b7af
(2.0.0-SNAPSHOT), found by the 2.0 OSS test suite check
`test_launch_scripts_add_opens_on_every_supported_java`.
The `--add-opens` flags are still added only under `if [[ "$JVM_VERSION" -eq
17 ]]`:
- `bin/gravitino.sh.template:158`
- `bin/gravitino-iceberg-rest-server.sh.template:157`
- `bin/gravitino-lance-rest-server.sh.template:157`
- `bin/gravitino-optimizer.sh.template:55`
The version check in `bin/common.sh.template:76-77` still accepts any Java
17 or newer ("Gravitino requires Java 17 or newer"), and
`docs/how-to-install.md:10` says higher versions should also work. So on Java
21 the server starts without the flags, and creating a Lance table returns 500
as described above. #14551 was closed without being merged, so the scripts are
unchanged. If Java 21 stays unsupported, having `common.sh` reject versions
other than 17 would make the failure clear at startup instead of a 500 later.
--
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]