Build spark 1.5.1 branch fails

2015-10-08 Thread Chester Chen
Question regarding branch-1.5 build. Noticed that the spark project no longer publish the spark-assembly. We have to build ourselves ( until we find way to not depends on assembly jar). I check out the tag v.1.5.1 release version and using the sbt to build it, I get the following error build/s

Re: Build spark 1.5.1 branch fails

2015-10-12 Thread Xiao Li
Hi, Chester, Please check your pom.xml. Your java.version and maven.version might not match your build environment. Or using -Denforcer.skip=true from the command line to skip it. Good luck, Xiao Li 2015-10-08 10:35 GMT-07:00 Chester Chen : > Question regarding branch-1.5 build. > > Noticed

Re: Build spark 1.5.1 branch fails

2015-10-17 Thread Chester Chen
I was using jdk 1.7 and maven version is the same as pom file. ᚛ |(v1.5.1)|$ java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode) Using build/sbt still fail the same with -Denforcer.skip, with mv

Re: Build spark 1.5.1 branch fails

2015-10-17 Thread Ted Yu
Have you set MAVEN_OPTS with the following ? -Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m Cheers On Sat, Oct 17, 2015 at 2:35 PM, Chester Chen wrote: > I was using jdk 1.7 and maven version is the same as pom file. > > ᚛ |(v1.5.1)|$ java -version > java version "1.7.0_51" > Java(T

Re: Build spark 1.5.1 branch fails

2015-10-17 Thread Chester Chen
Yes, I have tried MAVEN_OPTS with -Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m -Xmx4g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m -Xmx2g -XX:MaxPermSize=1g -XX:ReservedCodeCacheSize=512m None of them works. All failed with the same error. thanks On Sat, Oct 17, 2015

Re: Build spark 1.5.1 branch fails

2015-10-18 Thread Sean Owen
These are still too low I think. Try 4g heap and 1g permgen. That's what the error tells you right? On Sat, Oct 17, 2015, 10:58 PM Chester Chen wrote: > Yes, I have tried MAVEN_OPTS with > > -Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m > > -Xmx4g -XX:MaxPermSize=512M -XX:ReservedCo

Re: Build spark 1.5.1 branch fails

2015-10-18 Thread Steve Loughran
On 18 Oct 2015, at 11:09, Sean Owen mailto:so...@cloudera.com>> wrote: These are still too low I think. Try 4g heap and 1g permgen. That's what the error tells you right? On Sat, Oct 17, 2015, 10:58 PM Chester Chen mailto:ches...@alpinenow.com>> wrote: Yes, I have tried MAVEN_OPTS with -Xmx