[
https://issues.apache.org/jira/browse/SPARK-35178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17326924#comment-17326924
]
Apache Spark commented on SPARK-35178:
--------------------------------------
User 'srowen' has created a pull request for this issue:
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: Bruce Robbins
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]