-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DO NOT MERGE YET] Require Java 21 to run Trino #17520
Conversation
testing/trino-testing-containers/src/main/java/io/trino/testing/containers/TestContainers.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/TrinoSystemRequirements.java
Outdated
Show resolved
Hide resolved
Alluxio is broken but it's ok:
|
3f086f5
to
06686d2
Compare
06686d2
to
ee46b58
Compare
ee46b58
to
8674a96
Compare
3f4850c
to
4caa97a
Compare
b1cf19a
to
18765ab
Compare
649120b
to
61ac48e
Compare
53679f8
to
0ee02ae
Compare
49105e5
to
ce41b70
Compare
.github/workflows/ci.yml
Outdated
@@ -56,8 +57,7 @@ jobs: | |||
fail-fast: false | |||
matrix: | |||
java-version: | |||
- 17 | |||
- 20 | |||
- 21-ea |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: update to 21 when GA is available
.github/actions/setup/action.yml
Outdated
@@ -3,7 +3,7 @@ description: "Verify checked out commits and setup Java" | |||
inputs: | |||
java-version: | |||
description: "Java version to setup" | |||
default: 17 | |||
default: 21-ea |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: update to 21 when GA is available
.github/workflows/ci.yml
Outdated
@@ -634,7 +633,7 @@ jobs: | |||
- uses: ./.github/actions/setup | |||
with: | |||
cache: restore | |||
java-version: ${{ matrix.jdk != '' && matrix.jdk || '17' }} | |||
java-version: ${{ matrix.jdk != '' && matrix.jdk || '21-ea' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: update to 21 when GA is available
@@ -13,7 +13,7 @@ Builds the Trino Docker image | |||
EOF | |||
} | |||
|
|||
ARCHITECTURES=(amd64 arm64 ppc64le) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Restore when JDK 21 ppc64 images are available
core/trino-main/src/main/java/io/trino/server/TrinoSystemRequirements.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/TrinoSystemRequirements.java
Outdated
Show resolved
Hide resolved
return new Object[][]{ | ||
{rpmHostPath, "17"}, | ||
{rpmHostPath, "19"}}; | ||
{rpmHostPath, "openjdk:21-ea-oraclelinux7", "21"}}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: use temurin JDK 21 image when available
...uct-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/EnvironmentOptions.java
Show resolved
Hide resolved
643d732
to
d33deab
Compare
@nineinchnick works like a charm 🪄 |
d33deab
to
9388a65
Compare
9388a65
to
b94ccf5
Compare
Require Java 21 in the runtime to run Trino.
Fixes #17017