由于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
答案 0 :(得分:1)
安装git,node&amp; NPN。这适用于我的情况。
答案 1 :(得分:0)
在tez-ui / src / main / webapp /下的.bowerrc文件中添加以下行,然后重新构建
"registry": "https://registry.bower.io"
答案 2 :(得分:0)
我刚刚从pom中删除了“ tez-ui”,这可能是一个选择,具体取决于您的情况