spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bit1129@163.com" <bit1...@163.com>
Subject Re: Unable to build spark from source
Date Sat, 03 Jan 2015 10:39:09 GMT

The error hints that the maven module scala-compiler can't be fetched from repo1.maven.org.
Should some repositoy urls be added to the Maven's settings file?



bit1129@163.com
 
From: Manoj Kumar
Date: 2015-01-03 18:46
To: user
Subject: Unable to build spark from source
Hello,

I tried to build Spark from source using this command (all dependencies installed)
but it fails this error. Any help would be appreciated.

mvn -DskipTests clean package


[INFO] Spark Project Parent POM .......................... FAILURE [28:14.408s]
[INFO] Spark Project Networking .......................... SKIPPED
[INFO] Spark Project Shuffle Streaming Service ........... SKIPPED
[INFO] Spark Project Core ................................ SKIPP


INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28:15.136s
[INFO] Finished at: Sat Jan 03 15:26:31 IST 2015
[INFO] Final Memory: 20M/143M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.0:compile (scala-compile-first)
on project spark-parent: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.2.0:compile
failed: Plugin net.alchim31.maven:scala-maven-plugin:3.2.0 or one of its dependencies could
not be resolved: The following artifacts could not be resolved: org.scala-lang:scala-compiler:jar:2.10.3,
org.scala-lang:scala-reflect:jar:2.10.3: Could not transfer artifact org.scala-lang:scala-compiler:jar:2.10.3
from/to central (https://repo1.maven.org/maven2): GET request of: org/scala-lang/scala-compiler/2.10.3/scala-compiler-2.10.3.jar
from central failed: Connection reset -> [Help 1]




-- 
Godspeed,
Manoj Kumar,
Intern, Telecom ParisTech
Mech Undergrad
http://manojbits.wordpress.com
Mime
View raw message