[
https://issues.apache.org/jira/browse/IMPALA-15108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18089841#comment-18089841
]
ASF subversion and git services commented on IMPALA-15108:
----------------------------------------------------------
Commit 13d93945788ba0888ccb77f502a3b12859e77e3e in impala's branch
refs/heads/master from Joe McDonnell
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=13d939457 ]
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]>
> Add support for building / running with JDK 21
> ----------------------------------------------
>
> Key: IMPALA-15108
> URL: https://issues.apache.org/jira/browse/IMPALA-15108
> Project: IMPALA
> Issue Type: Epic
> Components: Infrastructure
> Affects Versions: Impala 5.0.0
> Reporter: Joe McDonnell
> Priority: Major
>
> Newer distributions like Redhat 10 have only JDK >= 21 in their package
> repositories. Initial tests don't see any issues compiling or using JDK 21,
> but we should do more investigation and verification of JDK 21 support. This
> epic tracks any issues that come up.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]