Re: problem building spark on centos

2016-01-06 Thread Jade Liu
Yes I’m using maven 3.3.9. From: Todd Nist mailto:tsind...@gmail.com>> Date: Wednesday, January 6, 2016 at 12:33 PM To: Jade Liu mailto:jade@nor1.com>> Cc: "user@spark.apache.org<mailto:user@spark.apache.org>" mailto:user@spark.apache.org>> Subject: Re: pro

Re: problem building spark on centos

2016-01-06 Thread Marcelo Vanzin
If you're trying to compile against Scala 2.11, you're missing "-Dscala-2.11" in that command. On Wed, Jan 6, 2016 at 12:27 PM, Jade Liu wrote: > Hi, Todd: > > Thanks for your suggestion. Yes I did run the ./dev/change-scala-version.sh > 2.11 script when using scala version 2.11. > > I just tried

Re: problem building spark on centos

2016-01-06 Thread Todd Nist
y/MAVEN/PluginExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn -rf :spark-launcher_2.10 > > Do you think it’s java problem? I’m using oracle JDK 1.7. Should I update > it to 1.8 instead? I just

Re: problem building spark on centos

2016-01-06 Thread Jade Liu
l.com>>, "user@spark.apache.org<mailto:user@spark.apache.org>" mailto:user@spark.apache.org>> Subject: Re: problem building spark on centos Hi Jade, I think you "--name" option. The makedistribution should look like this: ./make-distribution.sh --name h

Re: problem building spark on centos

2016-01-06 Thread Todd Nist
> sbt_inc.SbtIncrementalCompiler.zincCompile(SbtIncrementalCompiler.java:136) >> at sbt_inc.SbtIncrementalCompiler.compile(SbtIncrementalCompiler.java:86) >> at >> scala_maven.ScalaCompilerSupport.incrementalCompile(ScalaCompilerSupport.java:303) >> at scala_maven.ScalaCompilerSupport.compile(ScalaCompilerSupport.jav

Re: problem building spark on centos

2016-01-06 Thread Todd Nist
t; > w.r.t. the second error, have you read this ? > > http://www.captaindebug.com/2013/03/mavens-non-resolvable-parent-pom-problem.html#.Vo1fFGSrSuo > > On Wed, Jan 6, 2016 at 9:49 AM, Jade Liu wrote: > >> I’m using 3.3.9. Thanks! >> >> Jade >> >> From: T

Re: problem building spark on centos

2016-01-06 Thread Jade Liu
nks! Jade From: Ted Yu mailto:yuzhih...@gmail.com>> Date: Wednesday, January 6, 2016 at 10:40 AM To: Jade Liu mailto:jade@nor1.com>>, user mailto:user@spark.apache.org>> Subject: Re: problem building spark on centos w.r.t. the second error, have you read this ? http://www.cap

Re: problem building spark on centos

2016-01-06 Thread Ted Yu
16 at 4:57 PM > To: Jade Liu > Cc: "user@spark.apache.org" > Subject: Re: problem building spark on centos > > Which version of maven are you using ? > > It should be 3.3.3+ > > On Tue, Jan 5, 2016 at 4:54 PM, Jade Liu wrote: > >> Hi, All: >&g

Re: problem building spark on centos

2016-01-05 Thread Ted Yu
Which version of maven are you using ? It should be 3.3.3+ On Tue, Jan 5, 2016 at 4:54 PM, Jade Liu wrote: > Hi, All: > > I’m trying to build spark 1.5.2 from source using maven with the following > command: > > ./make-distribution.sh --tgz -Phadoop-2.6 -Pyarn -Dhadoop.version=2.6.0 > -Dscala-2

problem building spark on centos

2016-01-05 Thread Jade Liu
Hi, All: I'm trying to build spark 1.5.2 from source using maven with the following command: ./make-distribution.sh --tgz -Phadoop-2.6 -Pyarn -Dhadoop.version=2.6.0 -Dscala-2.11 -Phive -Phive-thriftserver -DskipTests I got the following error: + VERSION='[ERROR] [Help 2] http://cwiki.apache.or