HI Ravi,

You need JVM options for Maven, please look at here:
http://spark.incubator.apache.org/docs/latest/building-with-maven.html

section:
Setting up Maven’s Memory Usage



On Mon, Dec 9, 2013 at 7:01 PM, Ravi Hemnani <[email protected]> wrote:

>  Hey,
>
>   I am trying to get my hands on SPARK and i want to run a JAVA code and
> as specified in the Spark documentation (http://spark.incubator.
> apache.org/docs/latest/quick-start.html#a-standalone-app-in-java). As
> specified in the document, i am building the maven package using *mvn
> package *but i am getting the same error again and again.
>
>  *[ERROR] Failed to execute goal
> net.alchim31.maven:scala-maven-plugin:3.1.5:testCompile
> (scala-test-compile-first) on project spark-core_2.9.3: wrap:
> java.lang.reflect.InvocationTargetException: PermGen space -> [Help 1]*
>
>  I landed up on this post because of the scala-maven-plugin.
>
>  I increased the perm size Using MAVEN_OPTS.
>
>  Also i have apache maven 3.1.1 as my M2_HOME.
>

Reply via email to