You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Bruce Robbins (Jira)" <ji...@apache.org> on 2021/04/21 17:27:00 UTC

[jira] [Created] (SPARK-35178) maven autodownload failing

Bruce Robbins created SPARK-35178:
-------------------------------------

             Summary: maven autodownload failing
                 Key: SPARK-35178
                 URL: https://issues.apache.org/jira/browse/SPARK-35178
             Project: Spark
          Issue Type: Bug
          Components: Build
    Affects Versions: 3.2.0
            Reporter: Bruce Robbins


I attempted to build a fresh clone of Spark using mvn (on two different networks) and got this error:
{noformat}
exec: curl --silent --show-error -L https://www.apache.org/dyn/closer.lua?action=download&filename=/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.
Using `mvn` from path: /tmp/testmvn/spark-mvn-download/build/apache-maven-3.6.3/bin/mvn
build/mvn: line 126: /tmp/testmvn/spark-mvn-download/build/apache-maven-3.6.3/bin/mvn: No such file or directory
{noformat}
if I change the mirror as below, the issue goes away:
{noformat}
-    local APACHE_MIRROR=${APACHE_MIRROR:-'https://www.apache.org/dyn/closer.lua?action=download&filename='}
+    local APACHE_MIRROR=${APACHE_MIRROR:-'https://https://downloads.apache.org'}
{noformat}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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