Hello Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/19006

to look at the new patch set (#12).

Change subject: IMPALA-8770: Support building Docker images on Redhat-based 
distributions
......................................................................

IMPALA-8770: Support building Docker images on Redhat-based distributions

Currently, Impala supports building and testing Docker
images on Ubuntu. This extends that same support to
Redhat-based distributions:
1. This splits out the Docker build's OS package
   installation into a separate install_os_packages.sh
   script. This script detects the OS and calls apt
   or yum as appropriate. The script takes the argument
   --install-debug-tools, which installs extra tools
   like iproute2 and ping. This defaults to true for debug
   images and false for release images.
2. This modifies daemon_entrypoint.sh to detect the
   OS and set LD_LIBRARY_PATH appropriate to account
   for different locations of Java.
3. This modifies docker/setup_build_context.py to
   handle different locations of libkudu_client.so
   and add extra sanity checks on various libraries
   found via globs.
4. This modifies bin/jenkins/dockerized-*.sh test
   infrastructure to be able to install docker on
   either Ubuntu or Redhat. It also changes the exit
   logic to collect the container logs.

Developers can override the base image for Redhat 7
and Redhat 8 builds via the IMPALA_REDHAT7_DOCKER_BASE
and IMPALA_REDHAT8_DOCKER_BASE environment variables.
These default to open source Redhat equivalents
(Centos 7.9 and Rocky 8.5 respectively), but they are
also known to work with Redhat UBI images.

Testing:
 - Ran dockerised testing on Rocky 8.5 via the
   rocky-8.5-dockerised-tests job.
 - Ran GVO
 - Ran a Docker build on Centos7 with UBI7 as the base image

Change-Id: Ibaff2560ef971ac2c2231a8e43921164ea1d2f4d
---
M bin/impala-config.sh
M bin/jenkins/dockerized-impala-bootstrap-and-test.sh
M bin/jenkins/dockerized-impala-run-tests.sh
A bin/jenkins/install_docker.sh
M docker/CMakeLists.txt
M docker/daemon_entrypoint.sh
M docker/impala_base/Dockerfile
M docker/impala_profile_tool/Dockerfile
A docker/install_os_packages.sh
M docker/setup_build_context.py
10 files changed, 417 insertions(+), 92 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/06/19006/12
--
To view, visit http://gerrit.cloudera.org:8080/19006
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ibaff2560ef971ac2c2231a8e43921164ea1d2f4d
Gerrit-Change-Number: 19006
Gerrit-PatchSet: 12
Gerrit-Owner: Joe McDonnell <joemcdonn...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>

Reply via email to