[SPARK-24533] Typesafe rebranded to lightbend. Changing the build downloads path
Typesafe has rebranded to lightbend. Just changing the downloads path to avoid redirection Tested by running build/mvn -DskipTests package Author: Sanket Chintapalli <schintap@yahoo-inc.com> Closes #21636 from redsanket/SPARK-24533.
This commit is contained in:
parent
776befbfd5
commit
221d03acca
|
@ -93,7 +93,7 @@ install_mvn() {
|
|||
install_zinc() {
|
||||
local zinc_path="zinc-0.3.15/bin/zinc"
|
||||
[ ! -f "${_DIR}/${zinc_path}" ] && ZINC_INSTALL_FLAG=1
|
||||
local TYPESAFE_MIRROR=${TYPESAFE_MIRROR:-https://downloads.typesafe.com}
|
||||
local TYPESAFE_MIRROR=${TYPESAFE_MIRROR:-https://downloads.lightbend.com}
|
||||
|
||||
install_app \
|
||||
"${TYPESAFE_MIRROR}/zinc/0.3.15" \
|
||||
|
@ -109,7 +109,7 @@ install_scala() {
|
|||
# determine the Scala version used in Spark
|
||||
local scala_version=`grep "scala.version" "${_DIR}/../pom.xml" | head -n1 | awk -F '[<>]' '{print $3}'`
|
||||
local scala_bin="${_DIR}/scala-${scala_version}/bin/scala"
|
||||
local TYPESAFE_MIRROR=${TYPESAFE_MIRROR:-https://downloads.typesafe.com}
|
||||
local TYPESAFE_MIRROR=${TYPESAFE_MIRROR:-https://downloads.lightbend.com}
|
||||
|
||||
install_app \
|
||||
"${TYPESAFE_MIRROR}/scala/${scala_version}" \
|
||||
|
|
Loading…
Reference in a new issue