I installed Spark 1.5 on Ubuntu 14.04 LTS. When running build with the build/mvn -Dscala-2.11 -DskipTests clean package I get the following build error during the Spark SQL project:
[error] missing or invalid dependency detected while loading class file 'WebUI.class'. [error] Could not access term eclipse in package org, [error] because it (or its dependencies) are missing. Check your build definition for [error] missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.) [error] A full rebuild may help if 'WebUI.class' was compiled against an incompatible version of org. [error] missing or invalid dependency detected while loading class file 'WebUI.class'. [error] Could not access term jetty in value org.eclipse, [error] because it (or its dependencies) are missing. Check your build definition for [error] missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.) [error] A full rebuild may help if 'WebUI.class' was compiled against an incompatible version of org.eclipse. [warn] 22 warnings found [error] two errors found [error] Compile failed at Sep 18, 2015 6:09:38 PM [17.330s] [INFO]
Below is below my env variables in a .bashrc
export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64 export SCALA_HOME=/usr/local/src/scala/scala-2.11.7 export PATH=$SCALA_HOME/bin:$PATH export PATH=/home/ubuntu/apache-maven-3.3.3/bin:$PATH export SPARK_HOME=/home/ubuntu/spark-1.5.0 export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=512M -XX:ReservedCodeCacheSize=512m"
Update: I tried working with -Ylog-classpath, but did not work:
Unable to parse command line options: Unrecognized option: -Ylog-classpath
maven build apache-spark apache-spark-sql
guzu92
source share