gpt4 book ai didi

build - Zeppelin 构建失败

转载 作者:行者123 更新时间:2023-12-03 20:16:11 24 4
gpt4 key购买 nike

我正在尝试为 spark1.0.0 和 hadoop1.0.3 安装 zeppelin。

可能重复:Build error from Installing Apache Zeppelin

好吧,上面的话题并没有多大帮助。我得到与上述线程完全相同的输出:Web 应用程序无法编译。

我运行的命令是“mvn install -DskipTests -Dspark.version=1.0.0 -Dhadoop.version=1.0.3”

我有 maven 3.0.4/java 1.8/npm 1.1.4

[INFO] Zeppelin .......................................... SUCCESS [2.880s]
[INFO] Zeppelin: Interpreter ............................. SUCCESS [6.780s]
[INFO] Zeppelin: Zengine ................................. SUCCESS [3.394s]
[INFO] Zeppelin: Spark ................................... SUCCESS [31.284s]
[INFO] Zeppelin: Markdown interpreter .................... SUCCESS [1.936s]
[INFO] Zeppelin: Angular interpreter ..................... SUCCESS [1.916s]
[INFO] Zeppelin: Shell interpreter ....................... SUCCESS [1.905s]
[INFO] Zeppelin: Hive interpreter ........................ SUCCESS [2.226s]
[INFO] Zeppelin: Tajo interpreter ........................ SUCCESS [2.061s]
[INFO] Zeppelin: Flink ................................... SUCCESS [3.358s]
[INFO] Zeppelin: web Application ......................... FAILURE [0.215s]
[INFO] Zeppelin: Server .................................. SKIPPED
[INFO] Zeppelin: Packaging distribution .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58.228s
[INFO] Finished at: Tue Jun 16 11:50:03 KST 2015
[INFO] Final Memory: 47M/485M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.23:install-node-and-npm (install node and npm) on project zeppelin-web: The plugin com.github.eirslett:frontend-maven-plugin:0.0.23 requires Maven version 3.1.0 -> [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/PluginIncompatibleException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :zeppelin-web

是的,我确实已经从 git://切换到 https://并再次尝试但没有成功。

最佳答案

正如错误信息指出的那样:

[ERROR] Failed to execute goal 
com.github.eirslett:frontend-maven-plugin:0.0.23:install-node-and-npm
(install node and npm) on project zeppelin-web:
The plugin com.github.eirslett:frontend-maven-plugin:0.0.23
requires Maven version 3.1.0 -> [Help 1]

您需要将 Maven 版本从 3.0.4 至少更新到 3.1.0。

但是你会遇到另一个错误:zeppelin-web: Failed to run task: 'npm install --color=false' failed

要更正该问题,您需要以 sudoer 或管理员身份运行 mvn 命令:

sudo mvn install -DskipTests -Dspark.version=1.0.0 -Dhadoop.version=1.0.3

关于build - Zeppelin 构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30858060/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com