You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by ta...@apache.org on 2020/02/20 23:49:23 UTC

[impala] 01/03: IMPALA-9390: Change ant and maven download URLs to valid locations

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

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

commit 556e63f72d6412263e0fa2cef722bf2dbe3f3ca5
Author: Laszlo Gaal <la...@cloudera.com>
AuthorDate: Sun Feb 16 00:41:30 2020 +0100

    IMPALA-9390: Change ant and maven download URLs to valid locations
    
    Looks like there was a change in the Apache download infrastructure,
    and the URLs used by the bootstrap scripts to download ant and maven
    are no longer valid.
    
    Manually traversing the download pages yielded the new locations,
    https://downloads.apache.org/..., which was used to update
    the bootstrap scripts.
    
    Change-Id: I299bdd9cbe999ff4d483c022fa69ec88b37612f6
    Reviewed-on: http://gerrit.cloudera.org:8080/15229
    Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
    Tested-by: Laszlo Gaal <la...@cloudera.com>
---
 bin/bootstrap_build.sh  | 2 +-
 bin/bootstrap_system.sh | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/bootstrap_build.sh b/bin/bootstrap_build.sh
index b94a026..1168bb0 100755
--- a/bin/bootstrap_build.sh
+++ b/bin/bootstrap_build.sh
@@ -48,7 +48,7 @@ export JAVA_HOME=/usr/lib/jvm/java-${JDK_VERSION}-openjdk-amd64
 # Download Maven since the packaged version is pretty old.
 if [ ! -d /usr/local/apache-maven-3.5.4 ]; then
   sudo wget -nv \
-    https://www-us.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
+    https://downloads.apache.org/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
   sha512sum -c - <<< '2a803f578f341e164f6753e410413d16ab60fabe31dc491d1fe35c984a5cce696bc71f57757d4538fe7738be04065a216f3ebad4ef7e0ce1bb4c51bc36d6be86 apache-maven-3.5.4-bin.tar.gz'
   sudo tar -C /usr/local -xzf apache-maven-3.5.4-bin.tar.gz
   sudo ln -s /usr/local/apache-maven-3.5.4/bin/mvn /usr/local/bin
diff --git a/bin/bootstrap_system.sh b/bin/bootstrap_system.sh
index 9473eb4..aeba274 100755
--- a/bin/bootstrap_system.sh
+++ b/bin/bootstrap_system.sh
@@ -241,7 +241,7 @@ redhat sudo yum clean all
 
 # Download ant for centos
 redhat sudo wget -nv \
-  https://www-us.apache.org/dist/ant/binaries/apache-ant-1.9.14-bin.tar.gz
+  https://downloads.apache.org/ant/binaries/apache-ant-1.9.14-bin.tar.gz
 redhat 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 -s /usr/local/apache-ant-1.9.14/bin/ant /usr/local/bin
@@ -250,7 +250,7 @@ redhat sudo ln -s /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://www-us.apache.org/dist/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
+    https://downloads.apache.org/maven/maven-3/3.5.4/binaries/apache-maven-3.5.4-bin.tar.gz
   sha512sum -c - <<< '2a803f578f341e164f6753e410413d16ab60fabe31dc491d1fe35c984a5cce696bc71f57757d4538fe7738be04065a216f3ebad4ef7e0ce1bb4c51bc36d6be86  apache-maven-3.5.4-bin.tar.gz'
   sudo tar -C /usr/local -xzf apache-maven-3.5.4-bin.tar.gz
   sudo ln -s /usr/local/apache-maven-3.5.4/bin/mvn /usr/local/bin