Maven 构建Apache齐柏林飞艇时出错
我已经用cloudera安装了hadoop。我想安装齐柏林飞艇来连接hive,并为我的查询构建UI。使用以下命令生成齐柏林飞艇命令时:Maven 构建Apache齐柏林飞艇时出错,maven,build,cloudera-cdh,apache-zeppelin,Maven,Build,Cloudera Cdh,Apache Zeppelin,我已经用cloudera安装了hadoop。我想安装齐柏林飞艇来连接hive,并为我的查询构建UI。使用以下命令生成齐柏林飞艇命令时: sudo mvn clean package -Pspark-1.3 -Dspark.version=1.3.0 -Dhadoop.version=2.6.0-cdh5.4.7 -Phadoop-2.6 -Pyarn -DskipTests 我在web应用程序模块中遇到此错误: [ERROR] npm ERR! Linux 3.19.0-71-generic
sudo mvn clean package -Pspark-1.3 -Dspark.version=1.3.0 -Dhadoop.version=2.6.0-cdh5.4.7 -Phadoop-2.6 -Pyarn -DskipTests
我在web应用程序模块中遇到此错误:
[ERROR] npm ERR! Linux 3.19.0-71-generic
[ERROR] npm ERR! argv "/home/zeppelin/incubator-zeppelin/zeppelin-web/node/node" "/home/zeppelin/incubator-zeppelin/zeppelin-web/node/node_modules/npm/bin/npm-cli.js" "run" "build"
[ERROR] npm ERR! node v4.6.2
[ERROR] npm ERR! npm v3.10.9
[ERROR] npm ERR! code ELIFECYCLE
[ERROR] npm ERR! zeppelin-web@0.0.0 build: `grunt build`
[ERROR] npm ERR! Exit status 3
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the zeppelin-web@0.0.0 build script 'grunt build'.
[ERROR] npm ERR! Make sure you have the latest version of node.js and npm installed.
[ERROR] npm ERR! If you do, this is most likely a problem with the zeppelin-web package,
[ERROR] npm ERR! not with npm itself.
[ERROR] npm ERR! Tell the author that this fails on your system:
[ERROR] npm ERR! grunt build
[ERROR] npm ERR! You can get information on how to open an issue for this project with:
[ERROR] npm ERR! npm bugs zeppelin-web
[ERROR] npm ERR! Or if that isn't available, you can get their info via:
[ERROR] npm ERR! npm owner ls zeppelin-web
[ERROR] npm ERR! There is likely additional logging output above.
[ERROR]
[ERROR] npm ERR! Please include the following file with any support request:
[ERROR] npm ERR! /home/zeppelin/incubator-zeppelin/zeppelin-web/npm-debug.log
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Zeppelin ........................................... SUCCESS [ 2.527 s]
[INFO] Zeppelin: Interpreter .............................. SUCCESS [ 6.355 s]
[INFO] Zeppelin: Zengine .................................. SUCCESS [ 3.253 s]
[INFO] Zeppelin: Display system apis ...................... SUCCESS [ 9.241 s]
[INFO] Zeppelin: Spark dependencies ....................... SUCCESS [ 16.473 s]
[INFO] Zeppelin: Spark .................................... SUCCESS [ 13.479 s]
[INFO] Zeppelin: Markdown interpreter ..................... SUCCESS [ 0.270 s]
[INFO] Zeppelin: Angular interpreter ...................... SUCCESS [ 0.162 s]
[INFO] Zeppelin: Shell interpreter ........................ SUCCESS [ 0.211 s]
[INFO] Zeppelin: Livy interpreter ......................... SUCCESS [ 2.485 s]
[INFO] Zeppelin: HBase interpreter ........................ SUCCESS [ 1.742 s]
[INFO] Zeppelin: Apache Pig Interpreter ................... SUCCESS [ 1.367 s]
[INFO] Zeppelin: PostgreSQL interpreter ................... SUCCESS [ 0.294 s]
[INFO] Zeppelin: JDBC interpreter ......................... SUCCESS [ 0.565 s]
[INFO] Zeppelin: File System Interpreters ................. SUCCESS [ 0.514 s]
[INFO] Zeppelin: Flink .................................... SUCCESS [ 3.358 s]
[INFO] Zeppelin: Apache Ignite interpreter ................ SUCCESS [ 0.367 s]
[INFO] Zeppelin: Kylin interpreter ........................ SUCCESS [ 0.218 s]
[INFO] Zeppelin: Python interpreter ....................... SUCCESS [ 0.252 s]
[INFO] Zeppelin: Lens interpreter ......................... SUCCESS [ 1.496 s]
[INFO] Zeppelin: Apache Cassandra interpreter ............. SUCCESS [ 29.842 s]
[INFO] Zeppelin: Elasticsearch interpreter ................ SUCCESS [ 1.322 s]
[INFO] Zeppelin: BigQuery interpreter ..................... SUCCESS [ 0.389 s]
[INFO] Zeppelin: Alluxio interpreter ...................... SUCCESS [ 1.106 s]
[INFO] Zeppelin: Scio ..................................... SUCCESS [ 23.182 s]
[INFO] Zeppelin: web Application .......................... FAILURE [ 8.124 s]
[INFO] Zeppelin: Server ................................... SKIPPED
[INFO] Zeppelin: Packaging distribution ................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:09 min
[INFO] Finished at: 2016-11-28T18:16:15-05:00
[INFO] Final Memory: 524M/2992M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:npm (npm build) on project zeppelin-web: Failed to run task: 'npm run build' failed. (error code 1) -> [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提供以下输出:
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated CSSselect@0.7.0: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN prefer global jsonlint@1.6.2 should be installed with -g
npm WARN prefer global jshint@2.8.0 should be installed with -g
npm WARN lifecycle zeppelin-web@0.0.0~postinstall: cannot run in wd %s %s (wd=%s) zeppelin-web@0.0.0 bower install --silent /home/zeppelin/incubator-zeppelin/zeppelin-web
zeppelin-web@0.0.0 /home/zeppelin/incubator-zeppelin/zeppelin-web
我没有在这里复制这棵树,因为它太长了,无法在这里复制。谢谢。每当我在web应用程序上遇到问题时,我都会遵循这个过程
npm安装
-pvendorrepo
选项
您可以在中看到一些构建命令示例
希望这能有所帮助。每当我在web应用程序方面遇到问题时,我都会按照程序进行操作
npm安装
-pvendorrepo
选项
您可以在中看到一些构建命令示例
希望这能有所帮助。问题在于齐柏林飞艇的版本已经更新为v0.6.2 请在克隆孵化器后添加以下内容:
Maven将使用齐柏林飞艇版本0.6.1,它应该不会出现任何错误 问题在于齐柏林飞艇版本已更新为v0.6.2 请在克隆孵化器后添加以下内容:
Maven将使用齐柏林飞艇版本0.6.1,它应该不会出现任何错误 谢谢你的回复。我试过了,但还是有同样的错误。我执行了你给CDH的链接中提到的相同命令,但没有运气。如何以其他方式排除故障?感谢您的回复。请在
npm安装之前删除zeppelin web/bower\u组件/
?我在zeppelin web中找不到bower\u组件!!能否升级节点
版本?仅供参考,我的节点
版本是v5.9.1
,npm
版本是3.7.3
,能否附上npm安装
的所有输出?感谢您的回复。我试过了,但还是有同样的错误。我执行了你给CDH的链接中提到的相同命令,但没有运气。如何以其他方式排除故障?感谢您的回复。请在npm安装之前删除zeppelin web/bower\u组件/
?我在zeppelin web中找不到bower\u组件!!能否升级节点
版本?仅供参考,我的节点
版本是v5.9.1
,npm
版本是3.7.3
,您能否附加npm安装
孵化器齐柏林飞艇的所有输出?你为什么不使用齐柏林飞艇和星火号的最新版本?你是什么意思?我必须用我现在的hadoop安装它。孵化器-齐柏林飞艇应该在0.5.6之前,现在齐柏林飞艇在0.6.2。Spark 1.4也很旧,最新版本是2.0.2.2孵化器齐柏林飞艇?你为什么不使用齐柏林飞艇和星火号的最新版本?你是什么意思?我必须用我现在的hadoop安装它。孵化器-齐柏林飞艇应该在0.5.6之前,现在齐柏林飞艇在0.6.2。Spark 1.4也很旧,最新版本是2.0.2。我在哪个目录路径下进行git克隆?如果你使用pegasus,要修改的文件是:pegasus/install/zeppelin/install\u zeppelin.shman谢谢,它对我有用。我明天有演讲,你救了我。感谢您的回复。我不明白“如果您使用pegasus,那么要修改的文件是:pegasus/install/zeppelin/install_zeppelin.sh”这句话!你能再解释一下吗?不客气!过去几天,这个问题一直困扰着我。抱歉,我假设您正在使用project pegasus安装您的环境,因为您的问题与我的问题完全相同。也许这个解决方案会帮助更多的人。我在哪个目录路径下进行git克隆?如果你使用pegasus,要修改的文件是:pegasus/install/zeppelin/install_zeppelin.shman谢谢,它对我有用。我明天有演讲,你救了我。感谢您的回复。我不明白“如果您使用pegasus,那么要修改的文件是:pegasus/install/zeppelin/install_zeppelin.sh”这句话!你能再解释一下吗?不客气!过去几天,这个问题一直困扰着我。抱歉,我假设您正在使用project pegasus安装您的环境,因为您的问题与我的问题完全相同。也许这个解决方案会帮助更多的人。
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated CSSselect@0.7.0: the module is now available as 'css-select'
npm WARN deprecated CSSwhat@0.4.7: the module is now available as 'css-what'
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN deprecated node-uuid@1.4.7: use uuid module instead
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@2.0.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.
npm WARN prefer global jsonlint@1.6.2 should be installed with -g
npm WARN prefer global jshint@2.8.0 should be installed with -g
npm WARN lifecycle zeppelin-web@0.0.0~postinstall: cannot run in wd %s %s (wd=%s) zeppelin-web@0.0.0 bower install --silent /home/zeppelin/incubator-zeppelin/zeppelin-web
zeppelin-web@0.0.0 /home/zeppelin/incubator-zeppelin/zeppelin-web