This is an automated email from the ASF dual-hosted git repository. stigahuang pushed a commit to branch branch-3.4.2 in repository https://gitbox.apache.org/repos/asf/impala.git
commit 69ded221edb56c69023c1f31365544f0f807a506 Author: Laszlo Gaal <[email protected]> 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. Backport note: Just need to change the URL of ant. Change-Id: I1875f260b931ef096fc91a4723f91310225c55c9 Reviewed-on: http://gerrit.cloudera.org:8080/16062 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> Reviewed-on: http://gerrit.cloudera.org:8080/21260 Reviewed-by: Zihao Ye <[email protected]> Tested-by: Quanlong Huang <[email protected]> --- 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 22d9bd44b..264fda3af 100755 --- a/bin/bootstrap_system.sh +++ b/bin/bootstrap_system.sh @@ -242,8 +242,8 @@ 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 -redhat sha512sum -c - <<< '487dbd1d7f678a92924ba884a57e910ccb4fe565c554278795a8fdfc80c4e88d81ebc2ccecb5a8f353f0b2076572bb921499a2cadb064e0f44fc406a3c31da20 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 -s /usr/local/apache-ant-1.9.14/bin/ant /usr/local/bin
