1

由于 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
4

3 回答 3

1

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

于 2017-05-09T10:59:37.273 回答
0

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

于 2019-08-26T21:16:11.027 回答
0

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

"registry": "https://registry.bower.io" 
于 2018-12-06T09:35:05.890 回答