Impala Public Jenkins has submitted this change and it was merged. ( 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 Reviewed-on: http://gerrit.cloudera.org:8080/23741 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M bin/bootstrap_system.sh 1 file changed, 5 insertions(+), 0 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- 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: merged Gerrit-Change-Id: I8972fb35b232830c6d8cf1125a7a8223547bd206 Gerrit-Change-Number: 23741 Gerrit-PatchSet: 3 Gerrit-Owner: Laszlo Gaal <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Riza Suminto <[email protected]>
