You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by st...@apache.org on 2020/06/24 00:23:37 UTC

[impala] branch master updated (dcf0fe4 -> 4d4c364)

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

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


    from dcf0fe4  IMPALA-9866: Query plan debug page stuck in fetch and render loop.
     new 839cd0b  IMPALA-9845: Point Maven and Ant downloads to stable locations
     new 4d4c364  IMPALA-9871: Simplify OS version matching for SLES in bootstrap_toolchain.py

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 bin/bootstrap_system.sh    | 4 ++--
 bin/bootstrap_toolchain.py | 5 ++---
 2 files changed, 4 insertions(+), 5 deletions(-)


[impala] 02/02: IMPALA-9871: Simplify OS version matching for SLES in bootstrap_toolchain.py

Posted by st...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 4d4c364258019cff4a4f2e9191b02e9b7efa19a8
Author: Laszlo Gaal <la...@cloudera.com>
AuthorDate: Fri Jun 19 16:34:29 2020 +0200

    IMPALA-9871: Simplify OS version matching for SLES in bootstrap_toolchain.py
    
    bin/bootstrap_toolchain.py failed to recognize SLES12 sp5, which broke
    builds on that platform.
    
    This patch simplifies OS version parsing and matching for SLES, omitting
    the check for the OS minor version, which shows the SP level for SLES.
    This is similar to how Red Hat variants are handled. This gets
    rid of the constant update need whenever a new SP level is released for
    SLES12.
    This is enabled by the native toolchain sharing a single set of artifacts
    between all the SLES12 SP levels.
    
    Test: ran a successful build on a SLES12sp5 box.
    
    Change-Id: Id9ada210b915050fbceebb7364e130116e9244d0
    Reviewed-on: http://gerrit.cloudera.org:8080/16102
    Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 bin/bootstrap_toolchain.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/bin/bootstrap_toolchain.py b/bin/bootstrap_toolchain.py
index 53d0f8b..2e01f9e 100755
--- a/bin/bootstrap_toolchain.py
+++ b/bin/bootstrap_toolchain.py
@@ -85,8 +85,7 @@ OS_MAPPING = [
   OsMapping("debian8", "ec2-package-debian-8", "debian8"),
   OsMapping("suselinux11", "ec2-package-sles-11", None),
   OsMapping("suselinux12", "ec2-package-sles-12", "sles12"),
-  OsMapping("suse12.2", "ec2-package-sles-12", "sles12"),
-  OsMapping("suse12.3", "ec2-package-sles-12", "sles12"),
+  OsMapping("suse12", "ec2-package-sles-12", "sles12"),
   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),
@@ -361,7 +360,7 @@ def get_platform_release_label(release=None):
       lsb_release = check_output(["lsb_release", "-irs"])
       release = "".join(map(lambda x: x.lower(), lsb_release.split()))
       # Only need to check against the major release if RHEL or CentOS
-      for platform in ['centos', 'redhatenterpriseserver']:
+      for platform in ['centos', 'redhatenterpriseserver', 'suse']:
         if platform in release:
           release = release.split('.')[0]
           break


[impala] 01/02: IMPALA-9845: Point Maven and Ant downloads to stable locations

Posted by st...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 839cd0ba5a185cee55d9bb8f5344bda2df7cbbce
Author: Laszlo Gaal <la...@cloudera.com>
AuthorDate: Wed Jun 10 21:23:49 2020 +0200

    IMPALA-9845: Point Maven and Ant downloads to stable locations
    
    Ant released a new version in May 2020, which made the URL in
    bootstrap_system.sh obsolete. At the same time Apache created new rules
    for the download locations, moving older releases to archive.apache.org.
    
    This patch changes the download URLs for Maven and Ant to point to the
    stable locations at archive.apache.org. These locations don't change
    when a new version of a project is released, so downloads pulling a
    specific version will not be affected by a new release. At the same time
    new releases are stored at the archive site as well, so this location
    works for all versions.
    
    Change-Id: I1875f260b931ef096fc91a4723f91310225c55c9
    Reviewed-on: http://gerrit.cloudera.org:8080/16062
    Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 bin/bootstrap_system.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/bootstrap_system.sh b/bin/bootstrap_system.sh
index f5eaa24..b3c1401 100755
--- a/bin/bootstrap_system.sh
+++ b/bin/bootstrap_system.sh
@@ -286,7 +286,7 @@ redhat sudo yum clean all
 
 # Download ant for centos
 redhat sudo wget -nv \
-  https://downloads.apache.org/ant/binaries/apache-ant-1.9.14-bin.tar.gz
+  https://archive.apache.org/dist/ant/binaries/apache-ant-1.9.14-bin.tar.gz
 redhat sudo sha512sum -c - <<< '487dbd1d7f678a92924ba884a57e910ccb4fe565c554278795a8fdfc80c4e88d81ebc2ccecb5a8f353f0b2076572bb921499a2cadb064e0f44fc406a3c31da20  apache-ant-1.9.14-bin.tar.gz'
 redhat sudo tar -C /usr/local -xzf apache-ant-1.9.14-bin.tar.gz
 redhat sudo ln -sf /usr/local/apache-ant-1.9.14/bin/ant /usr/local/bin
@@ -295,7 +295,7 @@ redhat sudo ln -sf /usr/local/apache-ant-1.9.14/bin/ant /usr/local/bin
 # pretty old.
 if [ ! -d /usr/local/apache-maven-3.5.4 ]; then
   sudo wget -nv \
-    https://downloads.apache.org/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
+    https://archive.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
   sudo sha512sum -c - <<< '2a803f578f341e164f6753e410413d16ab60fabe31dc491d1fe35c984a5cce696bc71f57757d4538fe7738be04065a216f3ebad4ef7e0ce1bb4c51bc36d6be86  apache-maven-3.5.4-bin.tar.gz'
   sudo tar -C /usr/local -x --no-same-owner -zf apache-maven-3.5.4-bin.tar.gz
   sudo ln -sf /usr/local/apache-maven-3.5.4/bin/mvn /usr/local/bin