构建 Apache Zeppelin 时出现错误

2024-02-06

我已经用cloudera 设置了hadoop。我想安装 zeppelin 来连接 hive 并为我的查询构建 UI。使用以下命令构建 zeppelin 命令时:

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

我在网络应用程序模块中收到此错误:

[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! [email protected] /cdn-cgi/l/email-protection build: `grunt build`
[ERROR] npm ERR! Exit status 3
[ERROR] npm ERR!
[ERROR] npm ERR! Failed at the [email protected] /cdn-cgi/l/email-protection 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

我的安装有几个版本:

Hadoop 2.6.0-cdh5.4.7
java version "1.7.0_111"
Hive 1.1.0-cdh5.4.7
git version 1.9.1
nodejs - v7.2.0
npm - 3.10.9
Apache Maven 3.3.9 
Spark 1.3.0

我尝试了很多方法来解决这个问题,但没有成功。任何人都可以让我解决这个问题并成功运行构建吗?我非常感谢您的回复和时间。

Edit

我在 zeppelin-web 中安装的 npm 给出以下输出:

npm WARN deprecated [email protected] /cdn-cgi/l/email-protection: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected] /cdn-cgi/l/email-protection: the module is now available as 'css-select'
npm WARN deprecated [email protected] /cdn-cgi/l/email-protection: the module is now available as 'css-what'
npm WARN deprecated [email protected] /cdn-cgi/l/email-protection: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected] /cdn-cgi/l/email-protection: 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 [email protected] /cdn-cgi/l/email-protection: use uuid module instead
npm WARN deprecated [email protected] /cdn-cgi/l/email-protection: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected] /cdn-cgi/l/email-protection: 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 [email protected] /cdn-cgi/l/email-protection should be installed with -g
npm WARN prefer global [email protected] /cdn-cgi/l/email-protection should be installed with -g
npm WARN lifecycle [email protected] /cdn-cgi/l/email-protection~postinstall: cannot run in wd %s %s (wd=%s) [email protected] /cdn-cgi/l/email-protection bower install --silent /home/zeppelin/incubator-zeppelin/zeppelin-web
ze[email protected] /cdn-cgi/l/email-protection /home/zeppelin/incubator-zeppelin/zeppelin-web

我没有复制这里的树,因为复制这里太长了。谢谢。


问题在于 zeppelin build 已更新至 v0.6.2 请在克隆孵化器后添加以下内容:

  1. 克隆https://github.com/apache/incubator-zeppelin.git https://github.com/apache/incubator-zeppelin.git
  2. CD孵化器-齐柏林飞艇
  3. git checkout c928f9a46ecacebc868d6dc10a95c02f9018a18e
  4. cd ../

Maven 将使用 zeppelin build 0.6.1,它应该完成且不会出现任何错误。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

构建 Apache Zeppelin 时出现错误 的相关文章

随机推荐

  • 使用API​​将数据插入sqlite3数据库

    我正在尝试将 Web API 中的数据插入到我的数据库中 我在 python 3 7 2 上使用 sqlite3 但找不到任何有关如何执行此操作的教程 到目前为止我所有的代码是 import requests sqlite3 databas
  • 设置 JavaScript 变量 = null,还是保留未定义?

    在 JavaScript 函数顶部声明变量时 最佳实践是将它们设置为 null 还是保留为 未定义 换句话说 什么情况下需要下面的每个选项 选项A var a null b null 选项B var a b 这取决于上下文 未定义 表示该值
  • htaccess / mod_expires - 缓存特定文件

    好吧 我检查了很多关于如何使用管理浏览器缓存的网站 htaccess文件 但我仍然不清楚 我想将特定文件缓存一个月 对于其余的 我希望它每次都能刷新 所以我尝试
  • Hibernate - 使用 all-delete-orphan 清除集合然后添加到它会导致 ConstraintViolationException

    我有这些实体 class Foo Set
  • 使用用户定义的注释生成编译器警告

    是否可以让编译器在遇到用户定义的注释时生成警告 类似的东西 Deprecated注解 Thanks 根据您最初的问题和评论 我假设您正在尝试执行以下操作 将代码标记为不完整 带有编译器警告 以便其他开发人员尚未使用它 稍后识别 IDE 中不
  • 在 python 端在 kivy 中分配 ids

    我正在使用猕猴桃 我想做的是拥有 想法 一个滑块和一个标签 其中包含网格布局中一行中滑块的当前值 现在获取布局很好 但让标签具有与滑块当前值相同的文本值是很棘手的 我尝试使用字符串连接来引用与其配对的滑块具有相同数字后缀的标签 我认为我遇到
  • 跨度文本填充增加跨度大小

    我有以下跨度 span style border solid width 100px hello world span 在我看来 跨度的总宽度是根据填充大小而增加的 有没有办法防止跨度大小增加并将文本填充到右侧 不知道你的 padding
  • Linux 中的缓冲区和高速缓冲存储器有什么区别?

    对我来说 不清楚这两个 Linux 内存概念之间有什么区别 buffer and cache 我已读完这个帖子 https stackoverflow com questions 3192579 buffer and cache diffe
  • 在Python中将数组的数组转换为json[重复]

    这个问题在这里已经有答案了 我有一个数组数组 它 是从数据库查询中获取的SQL炼金术我想做两件事 我想获取列的名称 或类似的名称 从表中选择全名 AS 姓名 我想将最终产品转换为 json 对象数组 以便我可以在前端使用它 我已经搜索了几个
  • 将 .net 方法公开为 Excel 函数?

    我有一组计算方法位于 Net DLL 中 我想让 Excel 2003 用户可以使用这些方法 以便他们可以在电子表格中使用它们 例如我的 net方法 public double CalculateSomethingReallyComplex
  • 查找二进制中类符号的来源

    我有一个有趣的问题 我收到的崩溃日志引用了我的应用程序中名为 NRURLProtocol 的类 特别是在文件 NRURLProtocol m 中 根据崩溃日志 该日志存在于我的应用程序中 而不是存在于 iOS 框架中 但是 我的项目中没有
  • VSCODE 笔记本 - 是否可以仅显示大纲中的 Markdown 标题?

    我使用 Markdown 标题在笔记本中导航 但我也倾向于制作大量 非标题 Markdown 笔记 两者都出现在大纲中 随着笔记本变大 找到正确的标题变得相当困难 有没有办法抑制大纲中显示的普通降价单元格 我关注了 github 和 at
  • 如何将与字段关联的对象列表检索到实体类中?

    当我通过任何字段找到客户时 一切都很顺利 我得到了带有返回的全局对象的 JSON 我正在编写代码来查找Customer由于他们lastName 客户实体有一个对象 其中的字段lastName被宣布 因此 我希望我的端点像第一种情况一样返回客
  • 从 .NET 中的堆栈帧获取参数值?

    我希望能够从 NET中的堆栈帧中获取所有参数值 有点像在 Visual Studio 调试器中查看调用堆栈中的值的方式 我的方法集中于使用堆栈框架类 http msdn microsoft com en us library system
  • 从 iPad (目标 C) 到 MVP Web API (C#) 的时区映射

    我有一个 Web 服务 MVC Web API 我在其中存储 UTC 格式的日期时间值 iPad 与 API 进行通信 并将传递标头中的时区设置 API 会根据 iPad 发送的时区将 UTC 值转换为正确的本地时间 看来我需要 Objec
  • 如何对齐多个表单元素?

    I ve no clue at design and I m trying to get a simple HTML form to look like this 基本上 它是一个表格three输入字段和one提交按钮 关于输入字段 有上面
  • 使用 Complete.ly 或 typeahead 检测并禁用移动设备上的自动完成功能

    在我的项目中我想使用 Complete ly 参见http complete ly appspot com http complete ly appspot com 或 typeahead js 参见http twitter github
  • javascript - 将数组转换为字符串,同时保留括号

    我有一个多维数组 如下所示 var myArray 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 我希望将其内容放在 div 中 以便可以轻松复制和粘贴 然而 当我这样做时 var x document g
  • 在 Visual Studio 中监视调用堆栈大小

    有没有办法监视 Visual Studio 中的调用堆栈大小 运行时会提供一个调用堆栈窗口 但不显示堆栈的大小 我正在使用 C 并面临堆栈溢出问题 我知道我正在使用的某些递归函数可能有问题 但在解决这些问题之前 我想监视调用堆栈大小以了解发
  • 构建 Apache Zeppelin 时出现错误

    我已经用cloudera 设置了hadoop 我想安装 zeppelin 来连接 hive 并为我的查询构建 UI 使用以下命令构建 zeppelin 命令时 sudo mvn clean package Pspark 1 3 Dspark