This is an automated email from the ASF dual-hosted git repository. csringhofer pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/impala.git
commit 5e7d720257ba86c2d020d483c09673650a3f02d9 Author: Michael Smith <[email protected]> AuthorDate: Thu Apr 18 13:56:15 2024 -0700 IMPALA-12938: add-opens for platform.cgroupv1 Adds '--add-opens=jdk.internal.platform.cgroupv1' for Java 11 with ehcache, covering Impala daemons and frontend tests. Fixes InaccessibleObjectException detected by test_banned_log_messages.py. Change-Id: I312ae987c17c6f06e1ffe15e943b1865feef6b82 Reviewed-on: http://gerrit.cloudera.org:8080/21334 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- be/src/common/init.cc | 1 + bin/run-all-tests.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/be/src/common/init.cc b/be/src/common/init.cc index 300996a35..9ac9d9784 100644 --- a/be/src/common/init.cc +++ b/be/src/common/init.cc @@ -407,6 +407,7 @@ static Status JavaAddOpens(bool useSizeOf) { "--add-opens=java.base/jdk.internal.module=ALL-UNNAMED", "--add-opens=java.base/jdk.internal.perf=ALL-UNNAMED", "--add-opens=java.base/jdk.internal.platform=ALL-UNNAMED", + "--add-opens=java.base/jdk.internal.platform.cgroupv1=ALL-UNNAMED", "--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED", "--add-opens=java.base/jdk.internal.reflect=ALL-UNNAMED", "--add-opens=java.base/jdk.internal.util.jar=ALL-UNNAMED", diff --git a/bin/run-all-tests.sh b/bin/run-all-tests.sh index a97b6fbe2..564d79ed1 100755 --- a/bin/run-all-tests.sh +++ b/bin/run-all-tests.sh @@ -293,6 +293,7 @@ do JAVA_OPTIONS+=" --add-opens=java.base/jdk.internal.module=ALL-UNNAMED" JAVA_OPTIONS+=" --add-opens=java.base/jdk.internal.perf=ALL-UNNAMED" JAVA_OPTIONS+=" --add-opens=java.base/jdk.internal.platform=ALL-UNNAMED" + JAVA_OPTIONS+=" --add-opens=java.base/jdk.internal.platform.cgroupv1=ALL-UNNAMED" JAVA_OPTIONS+=" --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED" JAVA_OPTIONS+=" --add-opens=java.base/jdk.internal.reflect=ALL-UNNAMED" JAVA_OPTIONS+=" --add-opens=java.base/jdk.internal.util.jar=ALL-UNNAMED"
