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

arvindsh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/fluo-muchos.git


The following commit(s) were added to refs/heads/master by this push:
     new 58bf88c  Skip download of Hadoop / ZK SNAPSHOT tarballs (#350)
58bf88c is described below

commit 58bf88c6b6c410774acbfcf909545ab8b36eaf6f
Author: Arvind Shyamsundar <[email protected]>
AuthorDate: Fri May 15 16:53:22 2020 -0700

    Skip download of Hadoop / ZK SNAPSHOT tarballs (#350)
    
    This is a minor change to skip downloading such tarballs. Previously,
    attempting to use (for example) hadoop-x.y.z-SNAPSHOT.tar.gz would fail
    as the download task attempts to get that tarball from the ASF mirror.
---
 ansible/roles/proxy/tasks/download.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ansible/roles/proxy/tasks/download.yml 
b/ansible/roles/proxy/tasks/download.yml
index 446336e..798b665 100644
--- a/ansible/roles/proxy/tasks/download.yml
+++ b/ansible/roles/proxy/tasks/download.yml
@@ -26,6 +26,7 @@
     - { urlp: "{{ apache_mirror.stdout }}/hadoop/common/hadoop-{{ 
hadoop_version }}", fn: "{{ hadoop_tarball }}", sum: "{{ hadoop_checksum }}" }
     - { urlp: "{{ apache_mirror.stdout }}/maven/maven-3/{{ maven_version 
}}/binaries", fn: "{{ maven_tarball }}", sum: "{{ maven_checksum }}" }
     - { urlp: "https://github.com/github/hub/releases/download/v{{ hub_version 
}}", fn: "{{ hub_tarball }}", sum: "{{ hub_checksum }}" }
+  when: "'snapshot' not in item.fn.lower()"
 
 # This is currently needed to run hadoop with Java 11 (see 
https://github.com/apache/fluo-muchos/issues/266)
 - name: "Download javax.activation-api for Hadoop 3 when Java 11 is used"

Reply via email to