Michael Smith has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/22705 )

Change subject: IMPALA-13920: Allow running minicluster with Java 17
......................................................................

IMPALA-13920: Allow running minicluster with Java 17

IMPALA-11941 allowed building Impala and running tests with Java 17,
but it still uses Java 8 for minicluster components (e.g. Hadoop) and
skips several tests that would restart Hive. It should be possible to
use 17 for everything to be able to deprecate Java 8.

This patch mainly fixes Yarn+Hive+Tez startup issues with java 17 by
setting JAVA_TOOL_OPTIONS.

Another issues fixed is KuduHMSIntegrationTest: this test fails to
restart Kudu due to a bug in OpenJDK (see IMPALA-13856). The current
fix is to remove LD_PRELOAD to avoid loading libjsig (similarly to
the case when MINICLUSTER_JAVA_HOME is set). This works, but it
would be nice to clean up this area in a future patch.

Testing:
- ran exhaustive tests with Java 17
- ran core tests with default Java 8

Change-Id: If58b64a21d14a4a55b12dfe9ea0b9c3d5fe9c9cf
Reviewed-on: http://gerrit.cloudera.org:8080/22705
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Riza Suminto <[email protected]>
Reviewed-by: Michael Smith <[email protected]>
---
M bin/bootstrap_system.sh
M bin/create-test-configuration.sh
M bin/impala-config-java.sh
M bin/run-all-tests.sh
A bin/set-impala-java-tool-options.sh
M fe/pom.xml
M fe/src/test/java/org/apache/impala/customservice/KuduHMSIntegrationTest.java
M fe/src/test/java/org/apache/impala/testutil/TestUtils.java
M fe/src/test/resources/hive-site.xml.py
M testdata/bin/run-hive-server.sh
M testdata/bin/run-mini-dfs.sh
M tests/custom_cluster/test_kudu_table_create_without_hms.py
M tests/metadata/test_hms_integration.py
13 files changed, 142 insertions(+), 56 deletions(-)

Approvals:
  Impala Public Jenkins: Verified
  Riza Suminto: Looks good to me, but someone else must approve
  Michael Smith: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/22705
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: If58b64a21d14a4a55b12dfe9ea0b9c3d5fe9c9cf
Gerrit-Change-Number: 22705
Gerrit-PatchSet: 20
Gerrit-Owner: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Laszlo Gaal <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>

Reply via email to