我正在尝试为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://并再次尝试,但它无效。
答案 0 :(得分:3)
如错误消息所示:
[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
答案 1 :(得分:2)
我将以下元素添加到〜/ incubator-zeppelin-master / zeppelin-web下的.bowerrc文件中。
&#34;代理#&34; :&#34; http://:&#34;, &#34; HTTPS代理&#34; :&#34; http://:&#34;
之后,我尝试再次构建并成功完成,而不使用sudo命令。
请参阅以下网址: https://github.com/NFLabs/zeppelin/tree/master/zeppelin-web
答案 2 :(得分:0)
我尝试使用以下系统配置 mvn install -DskipTests :
1)Java 7
2)Maven 3.3
3)Spark 0.9.0
4)CDH4簇
构建对我来说很成功。