【问题标题】:Apache Tez build failed because of tez-ui由于 tez-ui,Apache Tez 构建失败
【发布时间】:2016-06-28 14:36:07
【问题描述】:

由于 tez-ui 失败,我无法使用 tez-release-0.7.0 构建 Apache Tez。 这是我在 Ubuntu 中的命令:

mvn clean package -DskipTests=true -Dmaven.javadoc.skip=true -Dfrontend-maven-plugin.version=0.0.23

我现在应该在哪里修复它? 非常感谢你们。

[INFO] tez ................................................ SUCCESS [  1.177 s]
[INFO] tez-api ............................................ SUCCESS [ 14.120 s]
[INFO] tez-common ......................................... SUCCESS [  2.484 s]
[INFO] tez-runtime-internals .............................. SUCCESS [  3.732 s]
[INFO] tez-runtime-library ................................ SUCCESS [  9.160 s]
[INFO] tez-mapreduce ...................................... SUCCESS [  5.508 s]
[INFO] tez-examples ....................................... SUCCESS [  1.173 s]
[INFO] tez-dag ............................................ SUCCESS [ 16.850 s]
[INFO] tez-tests .......................................... SUCCESS [  3.581 s]
[INFO] tez-ui ............................................. FAILURE [01:33 min]
[INFO] tez-plugins ........................................ SKIPPED
[INFO] tez-yarn-timeline-history .......................... SKIPPED
[INFO] tez-yarn-timeline-history-with-acls ................ SKIPPED
[INFO] tez-mbeans-resource-calculator ..................... SKIPPED
[INFO] tez-tools .......................................... SKIPPED
[INFO] tez-dist ........................................... SKIPPED
[INFO] Tez ................................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:32 min
[INFO] Finished at: 2016-06-28T23:31:25+09:00
[INFO] Final Memory: 64M/197M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.16:npm (npm install) on project tez-ui: Failed to run task: 'npm install --color=false' failed. (error code 255) -> [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 :tez-ui

【问题讨论】:

  • 我的协议版本:libprotoc 2.5.0。节点-v --> v4.2.6。 npm -v --> 3.5.2
  • 谁能帮帮我?
  • 我遇到了this解决的同样问题

标签: apache maven tez


【解决方案1】:

安装 git、node 和 npn。这在我的情况下有效。

【讨论】:

    【解决方案2】:

    在 tez-ui/src/main/webapp/ 下的 .bowerrc 文件中添加以下行并再次构建

    "registry": "https://registry.bower.io" 
    

    【讨论】:

      【解决方案3】:

      我刚刚从 pom 中完全删除了“tez-ui”,这可能是一个选项,具体取决于您的情况

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多