Looks familiar, got the zinc server running and using a shared dev box? ps -ef | grep "com.typesafe zinc.Nailgun", look for the zinc server process, kill it and try again, Spark branch-1.6 builds great here from scratch, had plenty of problems thanks to running the zinc server here (started with build/mvn)
From: Nachiketa <nachiketa.shu...@gmail.com> To: Diwakar Dhanuskodi <diwakar.dhanusk...@gmail.com> Cc: user <user@spark.apache.org> Date: 31/08/2016 12:17 Subject: Re: Spark build 1.6.2 error Hi Diwakar, Could you please share the entire maven command that you are using to build ? And also the JDK version you are using ? Also could you please confirm that you did execute the script for change scala version to 2.11 before starting the build ? Thanks. Regards, Nachiketa On Wed, Aug 31, 2016 at 2:00 AM, Diwakar Dhanuskodi < diwakar.dhanusk...@gmail.com> wrote: Hi, While building Spark 1.6.2 , getting below error in spark-sql. Much appreciate for any help. ERROR] missing or invalid dependency detected while loading class file 'WebUI.class'. Could not access term eclipse in package org, because it (or its dependencies) are missing. Check your build definition for missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.) 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'. Could not access term jetty in value org.eclipse, because it (or its dependencies) are missing. Check your build definition for missing or conflicting dependencies. (Re-run with `-Ylog-classpath` to see the problematic classpath.) A full rebuild may help if 'WebUI.class' was compiled against an incompatible version of org.eclipse. [WARNING] 17 warnings found [ERROR] two errors found [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Spark Project Parent POM .......................... SUCCESS [4.399s] [INFO] Spark Project Test Tags ........................... SUCCESS [3.443s] [INFO] Spark Project Launcher ............................ SUCCESS [10.131s] [INFO] Spark Project Networking .......................... SUCCESS [11.849s] [INFO] Spark Project Shuffle Streaming Service ........... SUCCESS [6.641s] [INFO] Spark Project Unsafe .............................. SUCCESS [19.765s] [INFO] Spark Project Core ................................ SUCCESS [4:16.511s] [INFO] Spark Project Bagel ............................... SUCCESS [13.401s] [INFO] Spark Project GraphX .............................. SUCCESS [1:08.824s] [INFO] Spark Project Streaming ........................... SUCCESS [2:18.844s] [INFO] Spark Project Catalyst ............................ SUCCESS [2:43.695s] [INFO] Spark Project SQL ................................. FAILURE [1:01.762s] [INFO] Spark Project ML Library .......................... SKIPPED [INFO] Spark Project Tools ............................... SKIPPED [INFO] Spark Project Hive ................................ SKIPPED [INFO] Spark Project Docker Integration Tests ............ SKIPPED [INFO] Spark Project REPL ................................ SKIPPED [INFO] Spark Project YARN Shuffle Service ................ SKIPPED [INFO] Spark Project YARN ................................ SKIPPED [INFO] Spark Project Assembly ............................ SKIPPED [INFO] Spark Project External Twitter .................... SKIPPED [INFO] Spark Project External Flume Sink ................. SKIPPED [INFO] Spark Project External Flume ...................... SKIPPED [INFO] Spark Project External Flume Assembly ............. SKIPPED [INFO] Spark Project External MQTT ....................... SKIPPED [INFO] Spark Project External MQTT Assembly .............. SKIPPED [INFO] Spark Project External ZeroMQ ..................... SKIPPED [INFO] Spark Project External Kafka ...................... SKIPPED [INFO] Spark Project Examples ............................ SKIPPED [INFO] Spark Project External Kafka Assembly ............. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 12:40.525s [INFO] Finished at: Wed Aug 31 01:56:50 IST 2016 [INFO] Final Memory: 71M/830M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first) on project spark-sql_2.11: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile failed. CompileFailed -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :spark-sql_2.11 -- Regards, -- Nachiketa Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU