mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-13458: Fix installing curl on Red Hat variants for dockerised tests
Red Hat 8 and 9 as well as their variants (e.g. Rocky Linux) preinstall the curl-minimal package as a prerequisite for their package manager. Unfortunately this conflicts with the installation of the full-blown curl package when the Impala daemon Docker images are built during a dockerised test run. The failure is caused by the two packages having slightly different version numbers. Fix this the same way as in bootstrap_system.sh: add the --allowerasing flag to the yum command line to let yum/DNF substitute the full curl version for the preinstalled curl-minimal package. Tested by executing dockerised tests on Rocky Linux 9.2 Change-Id: I30fa0f13a77ef2a939a1b754014a78c171443c71 Reviewed-on: http://gerrit.cloudera.org:8080/21944 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
committed by
Impala Public Jenkins
parent
c518d3c818
commit
2a03499c61
@@ -187,7 +187,11 @@ elif [[ $DISTRIBUTION == Redhat ]]; then
|
|||||||
|
|
||||||
if [[ $INSTALL_DEBUG_TOOLS == full ]]; then
|
if [[ $INSTALL_DEBUG_TOOLS == full ]]; then
|
||||||
echo "Installing full debug tools"
|
echo "Installing full debug tools"
|
||||||
wrap yum install -y --disableplugin=subscription-manager \
|
# Redhat 8 and 9 come with curl-minimal preinstalled, which conflicts with the
|
||||||
|
# full curl package. Add --allowerasing to the yum command to allow package
|
||||||
|
# replacement.
|
||||||
|
|
||||||
|
wrap yum install -y --disableplugin=subscription-manager --allowerasing \
|
||||||
bind-utils \
|
bind-utils \
|
||||||
curl \
|
curl \
|
||||||
iproute \
|
iproute \
|
||||||
|
|||||||
Reference in New Issue
Block a user