You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by jo...@apache.org on 2016/04/08 20:26:39 UTC

spark git commit: [BUILD][HOTFIX] Download Maven from regular mirror network rather than archive.apache.org

Repository: spark
Updated Branches:
  refs/heads/master e0ad75f2b -> 94ac58b2a


[BUILD][HOTFIX] Download Maven from regular mirror network rather than archive.apache.org

[archive.apache.org](https://archive.apache.org/) is undergoing maintenance, breaking our `build/mvn` script:

> We are in the process of relocating this service. To save on the immense bandwidth that this service outputs, we have put it in maintenance mode, disabling all downloads for the next few days. We expect the maintenance to be complete no later than the morning of Monday the 11th of April, 2016.

This patch fixes this issue by updating the script to use the regular mirror network to download Maven.

Author: Josh Rosen <jo...@databricks.com>

Closes #12262 from JoshRosen/fix-mvn-download.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/94ac58b2
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/94ac58b2
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/94ac58b2

Branch: refs/heads/master
Commit: 94ac58b2a8ae83be670169062c8b83bf10e41d74
Parents: e0ad75f
Author: Josh Rosen <jo...@databricks.com>
Authored: Fri Apr 8 11:26:28 2016 -0700
Committer: Josh Rosen <jo...@databricks.com>
Committed: Fri Apr 8 11:26:28 2016 -0700

----------------------------------------------------------------------
 build/mvn | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/94ac58b2/build/mvn
----------------------------------------------------------------------
diff --git a/build/mvn b/build/mvn
index 54b815d..eb42552 100755
--- a/build/mvn
+++ b/build/mvn
@@ -70,7 +70,7 @@ install_app() {
 # Install maven under the build/ folder
 install_mvn() {
   local MVN_VERSION="3.3.9"
-  local APACHE_MIRROR=${APACHE_MIRROR:-https://archive.apache.org/dist}
+  local APACHE_MIRROR=${APACHE_MIRROR:-'https://www.apache.org/dyn/closer.lua?action=download&filename='}
 
   install_app \
     "${APACHE_MIRROR}/maven/maven-3/${MVN_VERSION}/binaries" \


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org