我正在尝试构建Apache Zeppelin 0.80,但出现以下错误:
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! errno 3
[ERROR] npm ERR! zeppelin-web@0.0.0 build:dist: `npm-run-all prebuild && grunt pre-webpack-dist && webpack && grunt post-webpack-dist`
[ERROR] npm ERR! Exit status 3
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the zeppelin-web@0.0.0 build:dist script.
[ERROR] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
[ERROR]
[ERROR] npm ERR! A complete log of this run can be found in:
[ERROR] npm ERR! /root/.npm/_logs/2019-03-13T11_33_41_164Z-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [01:15 min]
[INFO] Zeppelin: Interpreter Parent ....................... SUCCESS [ 0.642 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [ 42.424 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [01:28 min]
[INFO] Zeppelin: Display system apis ...................... SUCCESS [ 53.308 s]
[INFO] Zeppelin: Groovy interpreter ....................... SUCCESS [ 5.205 s]
[INFO] Zeppelin: Spark Parent ............................. SUCCESS [ 33.914 s]
[INFO] Zeppelin: Spark Scala Parent ....................... SUCCESS [01:53 min]
[INFO] Zeppelin: Spark Interpreter Scala_2.11 ............. SUCCESS [ 8.660 s]
[INFO] Zeppelin: Spark Shims .............................. SUCCESS [ 8.348 s]
[INFO] Zeppelin: Spark1 Shims ............................. SUCCESS [ 59.188 s]
[INFO] Zeppelin: Spark2 Shims ............................. SUCCESS [ 24.668 s]
[INFO] Zeppelin: Python interpreter ....................... SUCCESS [ 30.489 s]
[INFO] Zeppelin: Spark Interpreter Scala_2.10 ............. SUCCESS [01:37 min]
[INFO] Zeppelin: Spark Interpreter ........................ SUCCESS [01:07 min]
[INFO] Zeppelin: Spark dependencies ....................... SUCCESS [01:44 min]
[INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [ 2.740 s]
[INFO] Zeppelin: Angular interpreter ...................... SUCCESS [ 0.766 s]
[INFO] Zeppelin: Shell interpreter ........................ SUCCESS [ 2.491 s]
[INFO] Zeppelin: Livy interpreter ......................... SUCCESS [ 36.901 s]
[INFO] Zeppelin: HBase interpreter ........................ SUCCESS [ 32.138 s]
[INFO] Zeppelin: Apache Pig Interpreter ................... SUCCESS [ 53.479 s]
[INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [ 8.899 s]
[INFO] Zeppelin: File System Interpreters ................. SUCCESS [ 4.346 s]
[INFO] Zeppelin: Flink .................................... SUCCESS [ 46.495 s]
[INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [ 16.175 s]
[INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [ 1.651 s]
[INFO] Zeppelin: Lens interpreter ......................... SUCCESS [ 23.476 s]
[INFO] Zeppelin: Apache Cassandra interpreter ............. SUCCESS [01:24 min]
[INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [ 19.592 s]
[INFO] Zeppelin: BigQuery interpreter ..................... SUCCESS [ 4.379 s]
[INFO] Zeppelin: Alluxio interpreter ...................... SUCCESS [ 19.916 s]
[INFO] Zeppelin: Scio ..................................... SUCCESS [01:20 min]
[INFO] Zeppelin: Neo4j interpreter ........................ SUCCESS [ 54.570 s]
[INFO] Zeppelin: Sap ...................................... SUCCESS [ 2.552 s]
[INFO] Zeppelin: web Application .......................... FAILURE [01:42 min]
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Jupyter Support .......................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] Zeppelin: R Interpreter ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23:43 min
[INFO] Finished at: 2019-03-13T11:33:41+00:00
[INFO] Final Memory: 267M/455M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "hadoop-2.4" could not be activated because it does not exist.
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.4:npm (npm build) on project zeppelin-web: Failed to run task: 'npm run build:dist' failed. org.apache.commons.exec.ExecuteException: Process exited with an error: 3 (Exit value: 3) -> [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-web
似乎失败的命令是:
npm-run-all prebuild && grunt pre-webpack-dist && webpack && grunt post-webpack-dist
我的系统配置如下:
运行命令时出现错误:
mvn clean package -DskipTests -Pspark-2.0 -Phadoop-2.4 -Pr -Pscala-2.11
官方文档中提到的内容。
关于如何解决此错误的任何建议?
感谢您的帮助。