mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-14449, IMPALA-14269: Fix Red Hat / Rocky 9 builds, ORC buffer overflow
Downstream error reports pointed out that the toolchain version picked up for IMPALA-14139 contains toolchain binaries for Red Hat 9 (and compatibles) that require at least the 9.5 minor version because of OpenSSL library requirements. This was caused by the toolchain binary build process not using package repo pinning for the redhat9 build container definition, which caused the container process to install "latest" packages, in this case packages released in Rocky / Red Hat 9.5. This patch bumps the toolchain ID to a version in which the redhat9 binaries were produced in a build container "moved back in time" to the 9.2 release by pinning the package repos to the Rocky Linux 9.2 state, using the Rocky Vault. The patch also picks up a buffer overflow mitigation for the ORC library. Change-Id: I5c6921afdc69a4a6644b619de6b8d4e4cc69e601 Reviewed-on: http://gerrit.cloudera.org:8080/23448 Reviewed-by: Riza Suminto <riza.suminto@cloudera.com> Reviewed-by: Michael Smith <michael.smith@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
committed by
Impala Public Jenkins
parent
9abbcf82ca
commit
57eb5f653b
@@ -81,13 +81,13 @@ export USE_AVRO_CPP=${USE_AVRO_CPP:=false}
|
||||
# moving to a different build of the toolchain, e.g. when a version is bumped or a
|
||||
# compile option is changed. The build id can be found in the output of the toolchain
|
||||
# build jobs, it is constructed from the build number and toolchain git hash prefix.
|
||||
export IMPALA_TOOLCHAIN_BUILD_ID_AARCH64=126-264503de7e
|
||||
export IMPALA_TOOLCHAIN_BUILD_ID_X86_64=568-264503de7e
|
||||
export IMPALA_TOOLCHAIN_BUILD_ID_AARCH64=134-730ad7b0e4
|
||||
export IMPALA_TOOLCHAIN_BUILD_ID_X86_64=574-730ad7b0e4
|
||||
export IMPALA_TOOLCHAIN_REPO=\
|
||||
${IMPALA_TOOLCHAIN_REPO:-https://github.com/cloudera/native-toolchain.git}
|
||||
export IMPALA_TOOLCHAIN_BRANCH=${IMPALA_TOOLCHAIN_BRANCH:-master}
|
||||
export IMPALA_TOOLCHAIN_COMMIT_HASH=\
|
||||
${IMPALA_TOOLCHAIN_COMMIT_HASH-264503de7ee132bba093c6cd0f1d309c2e10ca94}
|
||||
${IMPALA_TOOLCHAIN_COMMIT_HASH-730ad7b0e4b169489dfffa8a6793c323cbd9ccc7}
|
||||
# Compare the build ref in build IDs by removing everything up-to-and-including the
|
||||
# first hyphen.
|
||||
if [ "${IMPALA_TOOLCHAIN_BUILD_ID_AARCH64#*-}" \
|
||||
@@ -179,7 +179,7 @@ export IMPALA_ZSTD_VERSION=1.5.2
|
||||
unset IMPALA_ZSTD_URL
|
||||
export IMPALA_OPENLDAP_VERSION=2.4.47
|
||||
unset IMPALA_OPENLDAP_URL
|
||||
export IMPALA_ORC_VERSION=1.7.9-p10
|
||||
export IMPALA_ORC_VERSION=1.7.9-p11
|
||||
unset IMPALA_ORC_URL
|
||||
export IMPALA_PROTOBUF_VERSION=3.14.0
|
||||
unset IMPALA_PROTOBUF_URL
|
||||
|
||||
Reference in New Issue
Block a user