File tree Expand file tree Collapse file tree 9 files changed +13
-17
lines changed
Expand file tree Collapse file tree 9 files changed +13
-17
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ cd "$WORK_DIR" || exit
3838
3939src_file=" apache-druid-${VERSION} -src.tar.gz"
4040
41- echo " Downloading Druid (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
41+ echo " Downloading Druid source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4242curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /${VERSION} /${src_file} "
4343curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /${VERSION} /${src_file} .asc"
4444curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /${VERSION} /${src_file} .sha512"
Original file line number Diff line number Diff line change @@ -39,16 +39,16 @@ cd "$WORK_DIR" || exit
3939bin_file=hadoop-$VERSION .tar.gz
4040src_file=hadoop-$VERSION -src.tar.gz
4141
42- echo " Downloading Hadoop (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
42+ echo " Downloading Hadoop binary (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4343curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hadoop-$VERSION /$bin_file "
4444curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hadoop-$VERSION /$bin_file .asc"
4545curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hadoop-$VERSION /$bin_file .sha512"
4646
47+ echo " Downloading Hadoop source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4748curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hadoop-$VERSION /$src_file "
4849curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hadoop-$VERSION /$src_file .asc"
4950curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hadoop-$VERSION /$src_file .sha512"
5051
51-
5252# It is probably redundant to check both the checksum and the signature but it's cheap and why not
5353echo " Validating SHA512 Checksums"
5454if ! (sha512sum --tag " $bin_file " | diff - " $bin_file .sha512" && sha512sum --tag " $src_file " | diff - " $src_file .sha512" ); then
Original file line number Diff line number Diff line change @@ -38,12 +38,11 @@ cd "$WORK_DIR" || exit
3838
3939src_file=hbase-operator-tools-$VERSION -src.tar.gz
4040
41- echo " Downloading hbase-operator-tools (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
41+ echo " Downloading hbase-operator-tools source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4242curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hbase-operator-tools-$VERSION /$src_file "
4343curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hbase-operator-tools-$VERSION /$src_file .asc"
4444curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hbase-operator-tools-$VERSION /$src_file .sha512"
4545
46-
4746# It is probably redundant to check both the checksum and the signature but it's cheap and why not
4847echo " Validating SHA512 Checksums"
4948if ! (gpg --print-md SHA512 " $src_file " | diff - " $src_file .sha512" ); then
Original file line number Diff line number Diff line change @@ -38,12 +38,11 @@ cd "$WORK_DIR" || exit
3838
3939src_file=phoenix-$VERSION -src.tar.gz
4040
41- echo " Downloading phoenix (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
41+ echo " Downloading phoenix source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4242curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /phoenix-$VERSION /$src_file "
4343curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /phoenix-$VERSION /$src_file .asc"
4444curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /phoenix-$VERSION /$src_file .sha512"
4545
46-
4746# It is probably redundant to check both the checksum and the signature but it's cheap and why not
4847echo " Validating SHA512 Checksums"
4948if ! (gpg --print-md SHA512 " $src_file " | diff - " $src_file .sha512" ); then
Original file line number Diff line number Diff line change @@ -39,17 +39,16 @@ cd "$WORK_DIR" || exit
3939bin_file=" apache-hive-${VERSION} -bin.tar.gz"
4040src_file=" apache-hive-$VERSION -src.tar.gz"
4141
42- echo " Downloading Hive Binary (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
42+ echo " Downloading Hive binary (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4343curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hive-${VERSION} /${bin_file} "
4444curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hive-${VERSION} /${bin_file} .asc"
4545curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hive-${VERSION} /${bin_file} .sha256"
4646
47- echo " Downloading Hive Source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
47+ echo " Downloading Hive source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4848curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hive-${VERSION} /${src_file} "
4949curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hive-${VERSION} /${src_file} .asc"
5050curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /hive-${VERSION} /${src_file} .sha256"
5151
52-
5352# It is probably redundant to check both the checksum and the signature but it's cheap and why not
5453echo " Validating SHA256 Checksums"
5554if ! (sha256sum " ${bin_file} " | diff - " ${bin_file} .sha256" && sha256sum " ${src_file} " | diff - " ${src_file} .sha256" ); then
Original file line number Diff line number Diff line change @@ -39,11 +39,12 @@ cd "$WORK_DIR" || exit
3939bin_file=kafka_2.13-$VERSION .tgz
4040src_file=kafka-$VERSION -src.tgz
4141
42- echo " Downloading Kafka (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
42+ echo " Downloading Kafka binary (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4343curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /$VERSION /$bin_file "
4444curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /$VERSION /$bin_file .asc"
4545curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /$VERSION /$bin_file .sha512"
4646
47+ echo " Downloading Kafka source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4748curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /$VERSION /$src_file "
4849curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /$VERSION /$src_file .asc"
4950curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /$VERSION /$src_file .sha512"
Original file line number Diff line number Diff line change @@ -37,12 +37,11 @@ trap cleanup EXIT
3737cd " $WORK_DIR " || exit
3838src_file=phoenix-omid-$VERSION -src.tar.gz
3939
40- echo " Downloading Omid (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
40+ echo " Downloading Omid source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4141curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /phoenix-omid-${VERSION} /${src_file} "
4242curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /phoenix-omid-$VERSION /$src_file .asc"
4343curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /phoenix-omid-$VERSION /$src_file .sha512"
4444
45-
4645# It is probably redundant to check both the checksum and the signature but it's cheap and why not
4746echo " Validating SHA512 Checksums"
4847if ! (gpg --print-md SHA512 " $src_file " | diff - " $src_file .sha512" ); then
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ cd "$WORK_DIR" || exit
3838
3939src_file=" spark-${VERSION} .tgz"
4040
41- echo " Downloading Spark (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
41+ echo " Downloading Spark source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive)"
4242curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /spark-${VERSION} /${src_file} "
4343curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /spark-${VERSION} /${src_file} .asc"
4444curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /spark-${VERSION} /${src_file} .sha512"
Original file line number Diff line number Diff line change @@ -39,17 +39,16 @@ cd "$WORK_DIR" || exit
3939bin_file=apache-zookeeper-$VERSION -bin.tar.gz
4040src_file=apache-zookeeper-$VERSION .tar.gz
4141
42- echo " Downloading ZooKeeper ( this can take a while, it is intentionally downloading from a slow mirror that contains all old versions )"
42+ echo " Downloading ZooKeeper binary (if this fails, try switching the BASE_DOWNLOAD_URL to the archive )"
4343curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /zookeeper-$VERSION /$bin_file "
4444curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /zookeeper-$VERSION /$bin_file .asc"
4545curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /zookeeper-$VERSION /$bin_file .sha512"
4646
47- echo " Downloading ZooKeeper sources ( this can take a while, it is intentionally downloading from a slow mirror that contains all old versions )"
47+ echo " Downloading ZooKeeper source (if this fails, try switching the BASE_DOWNLOAD_URL to the archive )"
4848curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /zookeeper-$VERSION /$src_file "
4949curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /zookeeper-$VERSION /$src_file .asc"
5050curl --fail -LO --progress-bar " ${BASE_DOWNLOAD_URL} /zookeeper-$VERSION /$src_file .sha512"
5151
52-
5352# It is probably redundant to check both the checksum and the signature but it's cheap and why not
5453echo " Validating SHA512 Checksums for binary releases"
5554if ! (sha512sum " $bin_file " | diff -Z - " $bin_file .sha512" ); then
You can’t perform that action at this time.
0 commit comments