Try adding -U before -DskipTests On Fri, Oct 7, 2016 at 10:06 PM, mingda li <limingda1...@gmail.com> wrote:
> Dear all, > > Hi, we are using Zeppelin with Spark and AsterixDB now. The Spark will get > data from AsterixDB and Zeppelin can let users operate the data in Spark. > Now, we can run an example well in Spark's shell. But once we come to > Zeppelin, the example cannot run. There are some problem that org.SLF4J > couldn't be initialized. I don't know why. > > Has anyone met such problem before? > > And when I want to rebuild the Zeppelin, I also face some problem as > following: > when i use the command > JAVA_HOME=/home/clash/asterixdb/jdk1.8.0_101 > SCALA_HOME=/home/clash/scala-2.11.8 $MAVEN_HOME/bin/mvn clean package > -DskipTests -Pspark-1.6 -Phadoop-1 -Pscala-2.11 > > INFO] Zeppelin ........................................... SUCCESS [ > 1.501 s] > > [INFO] Zeppelin: Interpreter .............................. SUCCESS [ > 4.940 s] > > [INFO] Zeppelin: Zengine .................................. SUCCESS [ > 2.459 s] > > [INFO] Zeppelin: Display system apis ...................... SUCCESS [ > 6.152 s] > > [INFO] Zeppelin: Spark dependencies ....................... FAILURE [ > 0.258 s] > > [INFO] Zeppelin: Spark .................................... SKIPPED > > [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED > > [INFO] Zeppelin: Angular interpreter ...................... SKIPPED > > [INFO] Zeppelin: Shell interpreter ........................ SKIPPED > > [INFO] Zeppelin: Livy interpreter ......................... SKIPPED > > [INFO] Zeppelin: HBase interpreter ........................ SKIPPED > > [INFO] Zeppelin: PostgreSQL interpreter ................... SKIPPED > > [INFO] Zeppelin: JDBC interpreter ......................... SKIPPED > > [INFO] Zeppelin: File System Interpreters ................. SKIPPED > > [INFO] Zeppelin: Flink .................................... SKIPPED > > [INFO] Zeppelin: Apache Ignite interpreter ................ SKIPPED > > [INFO] Zeppelin: Kylin interpreter ........................ SKIPPED > > [INFO] Zeppelin: Python interpreter ....................... SKIPPED > > [INFO] Zeppelin: Lens interpreter ......................... SKIPPED > > [INFO] Zeppelin: Apache Cassandra interpreter ............. SKIPPED > > [INFO] Zeppelin: Elasticsearch interpreter ................ SKIPPED > > [INFO] Zeppelin: BigQuery interpreter ..................... SKIPPED > > [INFO] Zeppelin: Alluxio interpreter ...................... SKIPPED > > [INFO] Zeppelin: web Application .......................... SKIPPED > > [INFO] Zeppelin: Server ................................... SKIPPED > > [INFO] Zeppelin: Packaging distribution ................... SKIPPED > > [INFO] ------------------------------------------------------------ > ------------ > > [INFO] BUILD FAILURE > > [INFO] ------------------------------------------------------------ > ------------ > > [INFO] Total time: 15.543 s > > [INFO] Finished at: 2016-10-07T12:58:20-07:00 > > [INFO] Final Memory: 72M/1247M > > [INFO] ------------------------------------------------------------ > ------------ > > [ERROR] Failed to execute goal on project zeppelin-spark-dependencies_2.10: > Could not resolve dependencies for project org.apache.zeppelin:zeppelin- > spark-dependencies_2.10:jar:0.7.0-SNAPSHOT: The following artifacts could > not be resolved: org.spark-project.akka:akka-actor_2.11:jar:2.3.11, > org.spark-project.akka:akka-remote_2.11:jar:2.3.11, > org.spark-project.akka:akka-slf4j_2.11:jar:2.3.11, > org.spark-project.akka:akka-testkit_2.11:jar:2.3.11, > org.spark-project.akka:akka-zeromq_2.11:jar:2.3.11: Failure to find > org.spark-project.akka:akka-actor_2.11:jar:2.3.11 in > https://repo.maven.apache.org/maven2 was cached in the local repository, > resolution will not be reattempted until the update interval of central has > elapsed or updates are forced -> [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/ > DependencyResolutionException > > [ERROR] > > [ERROR] After correcting the problems, you can resume the build with the > command > > [ERROR] mvn <goals> -rf :zeppelin-spark-dependencies_2.10 > > clash@SCAI01:~/zeppelinFinal/zeppelin/incubator-zeppelin$ > > > Bests, > Mingda >