diff --git a/.github/workflows/core-hadoop3-ci.yml b/.github/workflows/core-hadoop3-ci.yml index 8a45c73054..4af8b34d6c 100644 --- a/.github/workflows/core-hadoop3-ci.yml +++ b/.github/workflows/core-hadoop3-ci.yml @@ -37,8 +37,15 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - jdk: [ '8', '11' ] + jdk: [ 8, 11, 17 ] spark: [ '3.3', '3.5' ] + exclude: + - jdk: 8 + spark: '3.5' + - jdk: 11 + spark: '3.5' + - jdk: 17 + spark: '3.3' name: Build Amoro with JDK ${{ matrix.jdk }} Spark-${{ matrix.spark }} steps: - uses: actions/checkout@v3 diff --git a/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/pom.xml b/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/pom.xml index c71541c3ff..b1489b83ac 100644 --- a/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/pom.xml +++ b/amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/pom.xml @@ -426,7 +426,7 @@ org.apache.amoro.listener.AmoroRunListener - -verbose:class + ${extraJavaTestArgs} -verbose:class diff --git a/pom.xml b/pom.xml index e4e3e3d02a..3af1dc9507 100644 --- a/pom.xml +++ b/pom.xml @@ -88,7 +88,7 @@ 3.3.0 3.0.1 3.0.0-M1 - 3.2.4 + 3.5.2 4.8.1 4.3 3.0.0-M7 @@ -161,6 +161,28 @@ compile compile provided + + + -XX:+IgnoreUnrecognizedVMOptions + --add-opens=java.base/java.lang=ALL-UNNAMED + --add-opens=java.base/java.lang.invoke=ALL-UNNAMED + --add-opens=java.base/java.lang.reflect=ALL-UNNAMED + --add-opens=java.base/java.io=ALL-UNNAMED + --add-opens=java.base/java.net=ALL-UNNAMED + --add-opens=java.base/java.nio=ALL-UNNAMED + --add-opens=java.base/java.util=ALL-UNNAMED + --add-opens=java.base/java.util.concurrent=ALL-UNNAMED + --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED + --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED + --add-opens=java.base/sun.nio.ch=ALL-UNNAMED + --add-opens=java.base/sun.nio.cs=ALL-UNNAMED + --add-opens=java.base/sun.security.action=ALL-UNNAMED + --add-opens=java.base/sun.security.tools.keytool=ALL-UNNAMED + --add-opens=java.base/sun.security.x509=ALL-UNNAMED + --add-opens=java.base/sun.util.calendar=ALL-UNNAMED + --add-opens=jdk.proxy2/jdk.proxy2=ALL-UNNAMED + -Djdk.reflect.useDirectMethodHandle=false + -Dio.netty.tryReflectionSetAccessible=true @@ -1078,6 +1100,9 @@ org.apache.maven.plugins maven-surefire-plugin ${maven-surefire-plugin.version} + + ${extraJavaTestArgs} + org.apache.maven.plugins @@ -1451,9 +1476,20 @@ [11,) + 11 11 + + java17 + + 17 + + + 17 + 17 + + spark-3.3