spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manoj Kumar <manojkumarsivaraj...@gmail.com>
Subject Re: Unable to build spark from source
Date Sat, 03 Jan 2015 11:38:11 GMT
Hi Sean,

Initially I thought on the lines of bit1129@163.com but I just changed how
I connect to the internet. I ran "sc.parallelize(1 to 1000).count()" and it
seemed to work.

Another quick question on the development workflow. What is the best way to
rebuild once I make a few modifications to the source code?


On Sat, Jan 3, 2015 at 4:09 PM, bit1129@163.com <bit1129@163.com> wrote:

>
> 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 <manojkumarsivaraj334@gmail.com>
> *Date:* 2015-01-03 18:46
> *To:* user <user@spark.apache.org>
> *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
>
>


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

Mime
View raw message