mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Direct Spark download url for CI as INFRA-12996
This commit is contained in:
parent
a459c02494
commit
9ee9c045c2
2 changed files with 3 additions and 3 deletions
|
|
@ -57,10 +57,10 @@
|
|||
|
||||
<spark.archive>spark-${spark.version}</spark.archive>
|
||||
<spark.download.url>
|
||||
http://archive.apache.org/dist/spark/${spark.archive}/${spark.archive}.tgz
|
||||
http://d3kbcqa49mib13.cloudfront.net/${spark.archive}.tgz
|
||||
</spark.download.url>
|
||||
<spark.bin.download.url>
|
||||
http://archive.apache.org/dist/spark/spark-${spark.version}/spark-${spark.version}-bin-without-hadoop.tgz
|
||||
http://d3kbcqa49mib13.cloudfront.net/spark-${spark.version}-bin-without-hadoop.tgz
|
||||
</spark.bin.download.url>
|
||||
<spark.dist.cache>${project.build.directory}/../../.spark-dist</spark.dist.cache>
|
||||
<py4j.version>0.8.2.1</py4j.version>
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ if [[ ! -d "${SPARK_HOME}" ]]; then
|
|||
echo "${SPARK_VERSION} being downloaded from archives"
|
||||
STARTTIME=`date +%s`
|
||||
#timeout -s KILL "${MAX_DOWNLOAD_TIME_SEC}" wget "http://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/${SPARK_ARCHIVE}.tgz"
|
||||
download_with_retry "http://archive.apache.org/dist/spark/spark-${SPARK_VERSION}/${SPARK_ARCHIVE}.tgz"
|
||||
download_with_retry "http://d3kbcqa49mib13.cloudfront.net/${SPARK_ARCHIVE}.tgz"
|
||||
ENDTIME=`date +%s`
|
||||
DOWNLOADTIME="$((ENDTIME-STARTTIME))"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue