Seems to be a heap space issue for Maven. Have you configured Maven's
memory according the instruction on the web page?

export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m"


On Mon, Oct 19, 2015 at 6:59 PM, Annabel Melongo <
melongo_anna...@yahoo.com.invalid> wrote:

> I tried to build Spark according to the build directions
> <http://spark.apache.org/docs/latest/building-spark.html> and the it
> failed due to the following error:
>
>
>
>
>
>
> Building Spark - Spark 1.5.1 Documentation
> <http://spark.apache.org/docs/latest/building-spark.html>
> Building Spark Building with build/mvn Building a Runnable Distribution
> Setting up Maven’s Memory Usage Specifying the Hadoop Version Building With
> Hive and JDBC Support Building for Scala 2.11
> View on spark.apache.org
> <http://spark.apache.org/docs/latest/building-spark.html>
> Preview by Yahoo
>
>     [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-assembly-plugin:2.5.5:single
> (test-jar-with-
>           dependencies) on project spark-streaming-mqtt_2.10: Failed to
> create assembly: Error creating assembly archive test-
>         jar-with-dependencies: Problem creating jar: Execution exception
> (and the archive is probably corrupt but I could not
>         delete it): Java heap space -> [Help 1]
>
> Any help?  I have a 64-bit windows 8 machine
>

Reply via email to