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

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


The following commit(s) were added to refs/heads/master by this push:
     new aa37ae8a8e HDDS-11885. Download Hadoop for S3A test from mirrors if 
available (#7545)
aa37ae8a8e is described below

commit aa37ae8a8eb10225c5065817f8843bfa9a037f35
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Tue Dec 10 06:38:42 2024 +0100

    HDDS-11885. Download Hadoop for S3A test from mirrors if available (#7545)
---
 hadoop-ozone/dev-support/checks/_lib.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-ozone/dev-support/checks/_lib.sh 
b/hadoop-ozone/dev-support/checks/_lib.sh
index 48108f2e72..632aecb829 100644
--- a/hadoop-ozone/dev-support/checks/_lib.sh
+++ b/hadoop-ozone/dev-support/checks/_lib.sh
@@ -161,7 +161,7 @@ download_hadoop_aws() {
   if [[ ! -e "${dir}" ]] || [[ ! -d "${dir}"/src/test/resources ]]; then
     mkdir -p "${dir}"
     if [[ ! -f "${dir}.tar.gz" ]]; then
-      local 
url="https://archive.apache.org/dist/hadoop/common/hadoop-${HADOOP_VERSION}/hadoop-${HADOOP_VERSION}-src.tar.gz";
+      local 
url="https://www.apache.org/dyn/closer.lua?action=download&filename=hadoop/common/hadoop-${HADOOP_VERSION}/hadoop-${HADOOP_VERSION}-src.tar.gz";
       echo "Downloading Hadoop from ${url}"
       curl -LSs --fail -o "${dir}.tar.gz" "$url" || return 1
     fi


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to