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

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

     [ https://issues.apache.org/jira/browse/SPARK-35178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun resolved SPARK-35178.
-----------------------------------
    Fix Version/s: 3.2.0
                   3.1.2
                   3.0.3
         Assignee: Sean R. Owen  (was: Bruce Robbins)
       Resolution: Fixed

This is resolved via https://github.com/apache/spark/pull/32277

> maven autodownload failing
> --------------------------
>
>                 Key: SPARK-35178
>                 URL: https://issues.apache.org/jira/browse/SPARK-35178
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 2.4.7, 3.0.2, 3.1.1, 3.2.0
>            Reporter: Bruce Robbins
>            Assignee: Sean R. Owen
>            Priority: Major
>             Fix For: 3.0.3, 3.1.2, 3.2.0
>
>
> 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