You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by bo...@apache.org on 2023/03/01 14:56:41 UTC

[impala] 01/04: IMPALA-11944: Add SLES 15 support

This is an automated email from the ASF dual-hosted git repository.

boroknagyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 630650ba080fe377b2c9e03645341ae86d175114
Author: Michael Smith <mi...@cloudera.com>
AuthorDate: Fri Feb 24 20:13:50 2023 -0800

    IMPALA-11944: Add SLES 15 support
    
    Updates IMPALA_TOOLCHAIN_BUILD_ID to a native-toolchain build that
    includes SLES 15 support and adds OsMapping for SLES 15.
    
    Testing:
    - built with impala-toolchain-sles15 container image from
      native-toolchain, which includes Python 2 and Java 8 SDK from OpenSUSE
      Leap.
    
    Change-Id: I4015b695862abc6eb901a857cc1c444aff1bbe24
    Reviewed-on: http://gerrit.cloudera.org:8080/19556
    Reviewed-by: Michael Smith <mi...@cloudera.com>
    Tested-by: Michael Smith <mi...@cloudera.com>
---
 bin/bootstrap_toolchain.py | 2 ++
 bin/impala-config.sh       | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/bootstrap_toolchain.py b/bin/bootstrap_toolchain.py
index 457625d19..e74e0b5f3 100755
--- a/bin/bootstrap_toolchain.py
+++ b/bin/bootstrap_toolchain.py
@@ -90,6 +90,8 @@ OS_MAPPING = [
   OsMapping("suselinux11", "ec2-package-sles-11", None),
   OsMapping("suselinux12", "ec2-package-sles-12", "sles12"),
   OsMapping("suse12", "ec2-package-sles-12", "sles12"),
+  OsMapping("suselinux15", "ec2-package-sles-15", "sles15"),
+  OsMapping("suse15", "ec2-package-sles-15", "sles15"),
   OsMapping("ubuntu12.04", "ec2-package-ubuntu-12-04", None),
   OsMapping("ubuntu14.04", "ec2-package-ubuntu-14-04", None),
   OsMapping("ubuntu15.04", "ec2-package-ubuntu-14-04", None),
diff --git a/bin/impala-config.sh b/bin/impala-config.sh
index 5cc4234b1..8e08a2fce 100755
--- a/bin/impala-config.sh
+++ b/bin/impala-config.sh
@@ -81,7 +81,7 @@ export USE_APACHE_HIVE=${USE_APACHE_HIVE-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=237-c284a9372e
+export IMPALA_TOOLCHAIN_BUILD_ID=252-b144ba77b5
 # Versions of toolchain dependencies.
 # -----------------------------------
 export IMPALA_AVRO_VERSION=1.7.4-p5