gpt4 book ai didi

安装 Apache Zeppelin 时出现构建错误

转载 作者:行者123 更新时间:2023-12-01 05:04:50 25 4
gpt4 key购买 nike

我在我的智慧尽头试图让 Apache Zeppelin 在我的 linux VM 上运行。我正在关注本教程:

http://madhukaudantha.blogspot.ca/2015/03/building-apache-zeppelin.html

我做了以下工作:

  • git clone 到机器
  • 现在正在尝试运行“mvn clean package”

  • 我得到以下错误摘要,我真的需要让它运行。
    [INFO] Reactor Summary:
    [INFO]
    [INFO] Zeppelin .......................................... SUCCESS [16.124s]
    [INFO] Zeppelin: Interpreter ............................. SUCCESS [36.026s]
    [INFO] Zeppelin: Zengine ................................. SUCCESS [27.440s]
    [INFO] Zeppelin: Spark ................................... SUCCESS [53.438s]
    [INFO] Zeppelin: Markdown interpreter .................... SUCCESS [6.041s]
    [INFO] Zeppelin: Angular interpreter ..................... SUCCESS [7.397s]
    [INFO] Zeppelin: Shell interpreter ....................... SUCCESS [4.140s]
    [INFO] Zeppelin: Hive interpreter ........................ SUCCESS [1:09.114s]
    [INFO] Zeppelin: Tajo interpreter ........................ SUCCESS [15.153s]
    [INFO] Zeppelin: web Application ......................... FAILURE [0.492s]
    [INFO] Zeppelin: Server .................................. SKIPPED
    [INFO] Zeppelin: Packaging distribution .................. SKIPPED
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 3:57.426s
    [INFO] Finished at: Wed Apr 29 12:18:39 EDT 2015
    [INFO] Final Memory: 78M/266M
    [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:fron tend-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 follow ing articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginIncompatibleExceptio n
    [ERROR]
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR] mvn <goals> -rf :zeppelin-web

    我曾尝试通过他们的电子邮件 (users@zeppelin.incubator.apache.org) 联系 apache 孵化器团队,但电子邮件被退回。我会继续四处寻找解决方案。

    最佳答案

    下载、解压并安装 Maven3(如果尚未安装)并在 PATH 中设置 maven

    导出路径=$PATH:$MAVEN_HOME/bin

    即使我已经用最新的 maven 更新了 PATH 变量。 mvn -version 显示 2.x

    现在使用 update-alternatives 手动更新 maven。

    bdalab@solai:/opt$ sudo update-alternatives --install/usr/bin/mvn mvn $MAVEN_HOME/bin/mvn 1

    bdalab@solai:/opt$ 须藤更新替代方案 --config mvn

    现在,从选项列表中选择一个与最近的 maven3 安装相关的数字

    关于安装 Apache Zeppelin 时出现构建错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29950313/

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