Joe McDonnell has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/24459 )
Change subject: IMPALA-14787: Add support for Redhat 10 and SLES 16 ...................................................................... IMPALA-14787: Add support for Redhat 10 and SLES 16 This picks up a toolchain with Redhat 10 x86_64 support: - Redhat 10 only includes JDK 21 and above in the package repositories. This defaults to JDK 21 for Redhat 10. IMPALA-15108 is the epic to track full JDK 21 support. Initial tests didn't see any issues with JDK 21. - It modifies bin/bootstrap_system.sh to support Redhat 10. Redhat 10 doesn't have the same "family" structure for java alternatives, so it needs to specify the actual path instead. There are also differences in how to use the epel repository. - Redhat 10's "uname -p" returns "unknown" to be more POSIX compliant. We use this to detect ARM in several places, so this replaces "uname -p" with "uname -m" (machine), which provides equivalent functionality. - This drops logic for some unsupported distributions from our Docker image logic (Redhat 7, Ubuntu 16/18). - Since we applied a patch to opentelemetry-cpp, some OTEL tests that depend on that version number needed to change to either strip the patch number or accomodate it. - To make it easier to test new distributions, this changes the logic in bin/jenkins/all-tests.sh to only use ninja if the system has ninja. This has not tested SLES 16 yet. Redhat 10 ARM support will be added in IMPALA-15104. Testing: - Ran a core job on Redhat 10. It bootstraps and runs all the tests. There are a few failures that we'll need to address separately, but broadly, the job is functional. - Ran core job on Ubuntu 20 Change-Id: I50acc5fbb4968e4310c4f84dde1d5b931b0385ec Reviewed-on: http://gerrit.cloudera.org:8080/24459 Reviewed-by: Laszlo Gaal <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M README.md M bin/bootstrap_build.sh M bin/bootstrap_system.sh M bin/bootstrap_toolchain.py M bin/impala-config-java.sh M bin/impala-config.sh M bin/jenkins/all-tests.sh M bin/nodejs/setup_nodejs.sh M bin/run-all-tests.sh M buildall.sh M docker/CMakeLists.txt M tests/custom_cluster/test_otel_trace.py M tests/util/otel_trace.py 13 files changed, 108 insertions(+), 62 deletions(-) Approvals: Laszlo Gaal: Looks good to me, approved Impala Public Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/24459 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I50acc5fbb4968e4310c4f84dde1d5b931b0385ec Gerrit-Change-Number: 24459 Gerrit-PatchSet: 15 Gerrit-Owner: Joe McDonnell <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Laszlo Gaal <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]>
