You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by "Taotao.Li" <ta...@datayes.com> on 2015/02/11 10:45:56 UTC
build success, %md works, but can not execute scala or spark, and
re-build with test, failure, test error on spark
hello, everyone, I just build zeppelin from master successfully, and everything seemed good except that can not execute scala.
then I re-build from master with test, comman as follows:
mvn clean package
and here errors occur, can anyone tell me what's the errors mean and what can I do to make sure that all the tests can be executed successfully.
Test error:
--------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [ 4.737 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [ 22.836 s]
[INFO] Zeppelin: Spark .................................... FAILURE [ 12.634 s]
[INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
[INFO] Zeppelin: Shell interpreter ........................ SKIPPED
[INFO] Zeppelin: web Application .......................... SKIPPED
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 40.707 s
[INFO] Finished at: 2015-02-11T17:40:28+08:00
[INFO] Final Memory: 58M/365M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project zeppelin-spark: There are test failures.
[ERROR]
[ERROR] Please refer to /root/Desktop/zeppelin-build/spark/target/surefire-reports for the individual test results.
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :zeppelin-spark
----------------------------------------------------
--
Re: build success, %md works, but can not execute scala or spark,
and re-build with test, failure, test error on spark
Posted by "Taotao.Li" <ta...@datayes.com>.
and here is all the error log with -e switch on:
command : mvn clean package -e
error:
[INFO] Cobertura Report generation was successful.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Zeppelin: Spark 0.5.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ zeppelin-spark ---
[INFO] Deleting /root/Desktop/zeppelin-build/spark/target
[INFO]
[INFO] --- maven-checkstyle-plugin:2.13:checkstyle (checkstyle) @ zeppelin-spark ---
[INFO]
[WARNING] Unable to locate Source XRef to link to - DISABLED
[INFO]
[INFO] --- maven-checkstyle-plugin:2.13:check (checkstyle) @ zeppelin-spark ---
[INFO]
[INFO]
[INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ zeppelin-spark ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 17 resources
[INFO]
[INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-maven) @ zeppelin-spark ---
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ zeppelin-spark ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/Desktop/zeppelin-build/spark/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ zeppelin-spark ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to /root/Desktop/zeppelin-build/spark/target/classes
[WARNING] error reading /root/.m2/repository/org/spark-project/akka/akka-actor_2.10/2.2.3-shaded-protobuf/akka-actor_2.10-2.2.3-shaded-protobuf.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/com/twitter/parquet-column/1.4.3/parquet-column-1.4.3.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/com/twitter/parquet-hive-bundle/1.5.0/parquet-hive-bundle-1.5.0.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/org/spark-project/hive/hive-metastore/0.12.0/hive-metastore-0.12.0.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/org/spark-project/akka/akka-actor_2.10/2.2.3-shaded-protobuf/akka-actor_2.10-2.2.3-shaded-protobuf.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/com/twitter/parquet-column/1.4.3/parquet-column-1.4.3.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/com/twitter/parquet-hive-bundle/1.5.0/parquet-hive-bundle-1.5.0.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/org/spark-project/hive/hive-metastore/0.12.0/hive-metastore-0.12.0.jar; error in opening zip file
[WARNING] /root/Desktop/zeppelin-build/spark/src/main/java/com/nflabs/zeppelin/spark/dep/DependencyResolver.java: Some input files use unchecked or unsafe operations.
[WARNING] /root/Desktop/zeppelin-build/spark/src/main/java/com/nflabs/zeppelin/spark/dep/DependencyResolver.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ zeppelin-spark ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /root/Desktop/zeppelin-build/spark/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ zeppelin-spark ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to /root/Desktop/zeppelin-build/spark/target/test-classes
[WARNING] error reading /root/.m2/repository/org/spark-project/akka/akka-actor_2.10/2.2.3-shaded-protobuf/akka-actor_2.10-2.2.3-shaded-protobuf.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/com/twitter/parquet-column/1.4.3/parquet-column-1.4.3.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/com/twitter/parquet-hive-bundle/1.5.0/parquet-hive-bundle-1.5.0.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/org/spark-project/hive/hive-metastore/0.12.0/hive-metastore-0.12.0.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/org/mockito/mockito-all/1.9.0/mockito-all-1.9.0.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/org/spark-project/akka/akka-actor_2.10/2.2.3-shaded-protobuf/akka-actor_2.10-2.2.3-shaded-protobuf.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/com/twitter/parquet-column/1.4.3/parquet-column-1.4.3.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/com/twitter/parquet-hive-bundle/1.5.0/parquet-hive-bundle-1.5.0.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/org/spark-project/hive/hive-metastore/0.12.0/hive-metastore-0.12.0.jar; error in opening zip file
[WARNING] error reading /root/.m2/repository/org/mockito/mockito-all/1.9.0/mockito-all-1.9.0.jar; error in opening zip file
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ zeppelin-spark ---
[INFO] Surefire report directory: /root/Desktop/zeppelin-build/spark/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.nflabs.zeppelin.spark.SparkSqlInterpreterTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/root/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/Desktop/zeppelin-build/zeppelin-zengine/target/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
15/02/11 17:46:51 INFO spark.SecurityManager: Changing view acls to: root
15/02/11 17:46:51 INFO spark.SecurityManager: Changing modify acls to: root
15/02/11 17:46:51 INFO spark.SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(root); users with modify permissions: Set(root)
15/02/11 17:46:51 INFO spark.HttpServer: Starting HTTP Server
15/02/11 17:46:52 INFO server.Server: jetty-8.1.14.v20131031
15/02/11 17:46:52 INFO server.AbstractConnector: Started SocketConnector@0.0.0.0:42324
15/02/11 17:46:52 INFO util.Utils: Successfully started service 'HTTP class server' on port 42324.
error: error while loading <root>, error in opening zip file
Failed to initialize compiler: object scala.runtime in compiler mirror not found.
** Note that as of 2.8 scala does not assume use of the java classpath.
** For the old behavior pass -usejavacp to scala, or if using a Settings
** object programatically, settings.usejavacp.value = true.
15/02/11 17:46:52 WARN repl.SparkILoop$SparkILoopInterpreter: Warning: compiler accessed before init set up. Assuming no postInit code.
Failed to initialize compiler: object scala.runtime in compiler mirror not found.
** Note that as of 2.8 scala does not assume use of the java classpath.
** For the old behavior pass -usejavacp to scala, or if using a Settings
** object programatically, settings.usejavacp.value = true.
15/02/11 17:46:52 INFO spark.SecurityManager: Changing view acls to: root
15/02/11 17:46:52 INFO spark.SecurityManager: Changing modify acls to: root
15/02/11 17:46:52 INFO spark.SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(root); users with modify permissions: Set(root)
15/02/11 17:46:52 INFO spark.HttpServer: Starting HTTP Server
15/02/11 17:46:52 INFO server.Server: jetty-8.1.14.v20131031
15/02/11 17:46:52 INFO server.AbstractConnector: Started SocketConnector@0.0.0.0:47430
15/02/11 17:46:52 INFO util.Utils: Successfully started service 'HTTP class server' on port 47430.
error: error while loading <root>, error in opening zip file
Failed to initialize compiler: object scala.runtime in compiler mirror not found.
** Note that as of 2.8 scala does not assume use of the java classpath.
** For the old behavior pass -usejavacp to scala, or if using a Settings
** object programatically, settings.usejavacp.value = true.
15/02/11 17:46:53 WARN repl.SparkILoop$SparkILoopInterpreter: Warning: compiler accessed before init set up. Assuming no postInit code.
Failed to initialize compiler: object scala.runtime in compiler mirror not found.
** Note that as of 2.8 scala does not assume use of the java classpath.
** For the old behavior pass -usejavacp to scala, or if using a Settings
** object programatically, settings.usejavacp.value = true.
15/02/11 17:46:54 INFO spark.SecurityManager: Changing view acls to: root
15/02/11 17:46:54 INFO spark.SecurityManager: Changing modify acls to: root
15/02/11 17:46:54 INFO spark.SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(root); users with modify permissions: Set(root)
15/02/11 17:46:54 INFO spark.HttpServer: Starting HTTP Server
15/02/11 17:46:54 INFO server.Server: jetty-8.1.14.v20131031
15/02/11 17:46:54 INFO server.AbstractConnector: Started SocketConnector@0.0.0.0:44082
15/02/11 17:46:54 INFO util.Utils: Successfully started service 'HTTP class server' on port 44082.
error: error while loading <root>, error in opening zip file
Failed to initialize compiler: object scala.runtime in compiler mirror not found.
** Note that as of 2.8 scala does not assume use of the java classpath.
** For the old behavior pass -usejavacp to scala, or if using a Settings
** object programatically, settings.usejavacp.value = true.
15/02/11 17:46:54 WARN repl.SparkILoop$SparkILoopInterpreter: Warning: compiler accessed before init set up. Assuming no postInit code.
Failed to initialize compiler: object scala.runtime in compiler mirror not found.
** Note that as of 2.8 scala does not assume use of the java classpath.
** For the old behavior pass -usejavacp to scala, or if using a Settings
** object programatically, settings.usejavacp.value = true.
Tests run: 3, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 4.273 sec <<< FAILURE! - in com.nflabs.zeppelin.spark.SparkSqlInterpreterTest
test_null_value_in_row(com.nflabs.zeppelin.spark.SparkSqlInterpreterTest) Time elapsed: 2.539 sec <<< FAILURE!
java.lang.AssertionError: assertion failed: null
at scala.Predef$.assert(Predef.scala:179)
at org.apache.spark.repl.SparkIMain.initializeSynchronous(SparkIMain.scala:203)
at com.nflabs.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:271)
at com.nflabs.zeppelin.spark.SparkSqlInterpreterTest.setUp(SparkSqlInterpreterTest.java:31)
test(com.nflabs.zeppelin.spark.SparkSqlInterpreterTest) Time elapsed: 1.181 sec <<< FAILURE!
java.lang.AssertionError: assertion failed: null
at scala.Predef$.assert(Predef.scala:179)
at org.apache.spark.repl.SparkIMain.initializeSynchronous(SparkIMain.scala:203)
at com.nflabs.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:271)
at com.nflabs.zeppelin.spark.SparkSqlInterpreterTest.setUp(SparkSqlInterpreterTest.java:31)
testStruct(com.nflabs.zeppelin.spark.SparkSqlInterpreterTest) Time elapsed: 0.422 sec <<< FAILURE!
java.lang.AssertionError: assertion failed: null
at scala.Predef$.assert(Predef.scala:179)
at org.apache.spark.repl.SparkIMain.initializeSynchronous(SparkIMain.scala:203)
at com.nflabs.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:271)
at com.nflabs.zeppelin.spark.SparkSqlInterpreterTest.setUp(SparkSqlInterpreterTest.java:31)
Running com.nflabs.zeppelin.spark.SparkInterpreterTest
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/root/.m2/repository/org/slf4j/slf4j-log4j12/1.7.5/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/root/Desktop/zeppelin-build/zeppelin-zengine/target/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
15/02/11 17:46:56 INFO spark.SecurityManager: Changing view acls to: root
15/02/11 17:46:56 INFO spark.SecurityManager: Changing modify acls to: root
15/02/11 17:46:56 INFO spark.SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(root); users with modify permissions: Set(root)
15/02/11 17:46:56 INFO spark.HttpServer: Starting HTTP Server
15/02/11 17:46:56 INFO server.Server: jetty-8.1.14.v20131031
15/02/11 17:46:57 INFO server.AbstractConnector: Started SocketConnector@0.0.0.0:35274
15/02/11 17:46:57 INFO util.Utils: Successfully started service 'HTTP class server' on port 35274.
error: error while loading <root>, error in opening zip file
Failed to initialize compiler: object scala.runtime in compiler mirror not found.
** Note that as of 2.8 scala does not assume use of the java classpath.
** For the old behavior pass -usejavacp to scala, or if using a Settings
** object programatically, settings.usejavacp.value = true.
15/02/11 17:46:57 WARN repl.SparkILoop$SparkILoopInterpreter: Warning: compiler accessed before init set up. Assuming no postInit code.
Failed to initialize compiler: object scala.runtime in compiler mirror not found.
** Note that as of 2.8 scala does not assume use of the java classpath.
** For the old behavior pass -usejavacp to scala, or if using a Settings
** object programatically, settings.usejavacp.value = true.
Tests run: 4, Failures: 1, Errors: 3, Skipped: 0, Time elapsed: 2.72 sec <<< FAILURE! - in com.nflabs.zeppelin.spark.SparkInterpreterTest
testSparkSql(com.nflabs.zeppelin.spark.SparkInterpreterTest) Time elapsed: 2.575 sec <<< FAILURE!
java.lang.AssertionError: assertion failed: null
at scala.Predef$.assert(Predef.scala:179)
at org.apache.spark.repl.SparkIMain.initializeSynchronous(SparkIMain.scala:203)
at com.nflabs.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:271)
at com.nflabs.zeppelin.spark.SparkInterpreterTest.setUp(SparkInterpreterTest.java:28)
testReferencingUndefinedVal(com.nflabs.zeppelin.spark.SparkInterpreterTest) Time elapsed: 0.016 sec <<< ERROR!
java.lang.NullPointerException: null
at com.nflabs.zeppelin.spark.SparkInterpreter.interpret(SparkInterpreter.java:378)
at com.nflabs.zeppelin.spark.SparkInterpreterTest.testReferencingUndefinedVal(SparkInterpreterTest.java:79)
testBasicIntp(com.nflabs.zeppelin.spark.SparkInterpreterTest) Time elapsed: 0.002 sec <<< ERROR!
java.lang.NullPointerException: null
at com.nflabs.zeppelin.spark.SparkInterpreter.interpret(SparkInterpreter.java:378)
at com.nflabs.zeppelin.spark.SparkInterpreterTest.testBasicIntp(SparkInterpreterTest.java:40)
testEndWithComment(com.nflabs.zeppelin.spark.SparkInterpreterTest) Time elapsed: 0.001 sec <<< ERROR!
java.lang.NullPointerException: null
at com.nflabs.zeppelin.spark.SparkInterpreter.interpret(SparkInterpreter.java:378)
at com.nflabs.zeppelin.spark.SparkInterpreterTest.testEndWithComment(SparkInterpreterTest.java:57)
Results :
Failed tests:
SparkSqlInterpreterTest.setUp:31 assertion failed: null
SparkSqlInterpreterTest.setUp:31 assertion failed: null
SparkSqlInterpreterTest.setUp:31 assertion failed: null
SparkInterpreterTest.setUp:28 assertion failed: null
Tests in error:
SparkInterpreterTest.testReferencingUndefinedVal:79 » NullPointer
SparkInterpreterTest.testBasicIntp:40 » NullPointer
SparkInterpreterTest.testEndWithComment:57 » NullPointer
Tests run: 7, Failures: 4, Errors: 3, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [ 5.318 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [ 23.644 s]
[INFO] Zeppelin: Spark .................................... FAILURE [ 12.453 s]
[INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
[INFO] Zeppelin: Shell interpreter ........................ SKIPPED
[INFO] Zeppelin: web Application .......................... SKIPPED
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 41.884 s
[INFO] Finished at: 2015-02-11T17:46:58+08:00
[INFO] Final Memory: 57M/365M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project zeppelin-spark: There are test failures.
[ERROR]
[ERROR] Please refer to /root/Desktop/zeppelin-build/spark/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project zeppelin-spark: There are test failures.
Please refer to /root/Desktop/zeppelin-build/spark/target/surefire-reports for the individual test results.
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
Please refer to /root/Desktop/zeppelin-build/spark/target/surefire-reports for the individual test results.
at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:82)
at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:195)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:861)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:729)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
[ERROR]
[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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :zeppelin-spark
----- 原始邮件 -----
发件人: "Taotao.Li" <ta...@datayes.com>
收件人: users@zeppelin.incubator.apache.org
发送时间: 星期三, 2015年 2 月 11日 下午 5:45:56
主题: build success, %md works, but can not execute scala or spark, and re-build with test, failure, test error on spark
---------
hello, everyone, I just build zeppelin from master successfully, and everything seemed good except that can not execute scala.
then I re-build from master with test, comman as follows:
mvn clean package
and here errors occur, can anyone tell me what's the errors mean and what can I do to make sure that all the tests can be executed successfully.
Test error:
--------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [ 4.737 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [ 22.836 s]
[INFO] Zeppelin: Spark .................................... FAILURE [ 12.634 s]
[INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
[INFO] Zeppelin: Shell interpreter ........................ SKIPPED
[INFO] Zeppelin: web Application .......................... SKIPPED
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 40.707 s
[INFO] Finished at: 2015-02-11T17:40:28+08:00
[INFO] Final Memory: 58M/365M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project zeppelin-spark: There are test failures.
[ERROR]
[ERROR] Please refer to /root/Desktop/zeppelin-build/spark/target/surefire-reports for the individual test results.
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :zeppelin-spark
----------------------------------------------------
--
--
---------------------------------------------------------------------------
Thanks & Best regards
李涛涛 Taotao · Li | Fixed Income@Datayes | Software Engineer
地址:上海市浦东新区陆家嘴西路 99 号万向大厦8 楼, 200120
Address :Wanxiang Towen 8 F, Lujiazui West Rd. No.99, Pudong New District, Shanghai, 200120
电话 |Phone : 021-60216502 手机 |Mobile: +86-18202171279
Re: build success, %md works, but can not execute scala or spark, and
re-build with test, failure, test error on spark
Posted by Corneau Damien <co...@gmail.com>.
Hi taotao
Did you skip the tests during your first build? We usually build without
test: mvn clean package -Dmaven.test.skip=true
For the interpreter not working, you will find a settings button in each
note, check that the interpreter is activated.
Also just in case:
We use %md to write markdown, %sql for sparksql, and basic code will be
scala.
You cannot mix multiple languages in the same paragraph
Hope this helps
On Feb 11, 2015 6:46 PM, "Taotao.Li" <ta...@datayes.com> wrote:
> hello, everyone, I just build zeppelin from master successfully, and
> everything seemed good except that can not execute scala.
> then I re-build from master with test, comman as follows:
>
> *mvn clean package *
>
> and here errors occur, can anyone tell me what's the errors mean and what
> can I do to make sure that all the tests can be executed successfully.
>
> *Test error:*
> --------------------------------------
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Zeppelin ........................................... SUCCESS [
> 4.737 s]
> [INFO] Zeppelin: Zengine .................................. SUCCESS [
> 22.836 s]
> [INFO] Zeppelin: Spark .................................... FAILURE [
> 12.634 s]
> [INFO] Zeppelin: Markdown interpreter ..................... SKIPPED
> [INFO] Zeppelin: Shell interpreter ........................ SKIPPED
> [INFO] Zeppelin: web Application .......................... SKIPPED
> [INFO] Zeppelin: Server ................................... SKIPPED
> [INFO] Zeppelin: Packaging distribution ................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 40.707 s
> [INFO] Finished at: 2015-02-11T17:40:28+08:00
> [INFO] Final Memory: 58M/365M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on
> project zeppelin-spark: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /root/Desktop/zeppelin-build/spark/target/surefire-reports for the
> individual test results.
> [ERROR] -> [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/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :zeppelin-spark
> ----------------------------------------------------
>
>
>
> --
>
>