diff --git a/.github/workflows/build-and-push-images.yml b/.github/workflows/build-and-push-images.yml index 19534787f8b..ae998c9a9ef 100644 --- a/.github/workflows/build-and-push-images.yml +++ b/.github/workflows/build-and-push-images.yml @@ -123,7 +123,7 @@ jobs: uses: actions/setup-java@v5 with: distribution: 'temurin' - java-version: 11 + java-version: 17 - name: Setup sbt launcher uses: sbt/setup-sbt@508b753e53cb6095967669e0911487d2b9bc9f41 # v1.1.22 @@ -325,7 +325,7 @@ jobs: uses: actions/setup-java@v5 with: distribution: 'temurin' - java-version: 11 + java-version: 17 - name: Setup sbt launcher uses: sbt/setup-sbt@508b753e53cb6095967669e0911487d2b9bc9f41 # v1.1.22 @@ -405,7 +405,7 @@ jobs: uses: actions/setup-java@v5 with: distribution: 'temurin' - java-version: 11 + java-version: 17 - name: Setup sbt launcher uses: sbt/setup-sbt@508b753e53cb6095967669e0911487d2b9bc9f41 # v1.1.22 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 988c3831397..0a1ffbef18a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -144,7 +144,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04] - java-version: [11] + java-version: [17] runs-on: ${{ matrix.os }} env: JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 @@ -175,7 +175,7 @@ jobs: uses: actions/setup-java@v5 with: distribution: "temurin" - java-version: 11 + java-version: 17 - name: Create Databases # Must run before any sbt compile step: the build's JOOQ source # generators connect to texera_db while compiling. @@ -262,7 +262,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04] - java-version: [11] + java-version: [17] runs-on: ${{ matrix.os }} env: JAVA_OPTS: -Xms2048M -Xmx2048M -Xss6M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 @@ -293,7 +293,7 @@ jobs: uses: actions/setup-java@v5 with: distribution: "temurin" - java-version: 11 + java-version: 17 - name: Setup Python for Scala-Python integration tests uses: actions/setup-python@v6 with: @@ -405,7 +405,7 @@ jobs: uses: actions/setup-java@v5 with: distribution: "temurin" - java-version: 11 + java-version: 17 - name: Setup sbt launcher uses: sbt/setup-sbt@508b753e53cb6095967669e0911487d2b9bc9f41 # v1.1.22 - uses: coursier/cache-action@90c37294538be80a558fd665531fcdc2b467b475 # v8.1.0 diff --git a/.jvmopts b/.jvmopts new file mode 100644 index 00000000000..3f4c694a764 --- /dev/null +++ b/.jvmopts @@ -0,0 +1,28 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# Required by Kryo: https://github.com/altoo-ag/pekko-kryo-serialization#using-kryo-on-jdk-17 +--add-opens=java.base/java.lang=ALL-UNNAMED +--add-opens=java.base/java.lang.invoke=ALL-UNNAMED +--add-opens=java.base/java.util=ALL-UNNAMED +--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED +--add-opens=java.base/sun.nio.ch=ALL-UNNAMED + +# Required by Apache Arrow: https://arrow.apache.org/java/main/install.html +--add-opens=java.base/java.nio=ALL-UNNAMED + +# Required by Apache Pekko: https://pekko.apache.org/docs/pekko/snapshot/release-notes/releases-2.0.html +--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED diff --git a/.run/ComputingUnitMaster.run.xml b/.run/ComputingUnitMaster.run.xml index 5ffffb79e88..7d3a3aaf989 100644 --- a/.run/ComputingUnitMaster.run.xml +++ b/.run/ComputingUnitMaster.run.xml @@ -19,6 +19,7 @@ under the License.