Laszlo Gaal has uploaded this change for review. ( http://gerrit.cloudera.org:8080/23741
Change subject: IMPALA-14603: Force Java alternative after setup on Rocky and Red Hat Linux ...................................................................... IMPALA-14603: Force Java alternative after setup on Rocky and Red Hat Linux Impala allows various Java versions to be selected for its build and runtime environment when bin/bootstrap_system.sh is used to set up the environment. Unfortunately this setup failed to affect the current Java JRE and compiler tools on Red Hat Linux and compatibles (e.g. Rocky Linux), because bootstrap_system.sh failed to set up the requested version in the "alternatives" subsystem. The same failure was not observed on Ubuntu versions, on that platform `update_java_alternatives` was correctly run for the same purpose. This patch adds calls to `alternatives` to set the JRE and JDK environments to the requested version. This benefits automated test runs in Impala's pre- and post-commit environments as well as individual workstation setups. Change-Id: I8972fb35b232830c6d8cf1125a7a8223547bd206 --- M bin/bootstrap_system.sh 1 file changed, 5 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/41/23741/1 -- To view, visit http://gerrit.cloudera.org:8080/23741 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I8972fb35b232830c6d8cf1125a7a8223547bd206 Gerrit-Change-Number: 23741 Gerrit-PatchSet: 1 Gerrit-Owner: Laszlo Gaal <[email protected]>
