hadoop - Apache Tez 构建失败

标签 hadoop maven-3 apache-tez

我正在尝试使用以下命令在 Windows 中为 hadoop-2.6.0 构建 Apache Tez(0.6.1 和 0.7.0 版本)

mvn clean package -Dhadoop.version=2.6.0 -DskipTests -Dmaven.javadoc.skip

但我正在接受异常

[INFO]
[INFO] --- exec-maven-plugin:1.3.2:exec (Bower install) @ tez-ui ---bower FileSaver.js#24b303f49213b905ec9062b708f7cd43d56a5dde           ENOGIT git is not installed or not in the PATH
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] tez ................................................ SUCCESS [  0.924 s]
[INFO] tez-api ............................................ SUCCESS [ 11.585 s]
[INFO] tez-common ......................................... SUCCESS [  1.421 s]
[INFO] tez-runtime-internals .............................. SUCCESS [  2.029 s]
[INFO] tez-runtime-library ................................ SUCCESS [  4.751 s]
[INFO] tez-mapreduce ...................................... SUCCESS [  2.553 s]
[INFO] tez-examples ....................................... SUCCESS [  0.862 s]
[INFO] tez-dag ............................................ SUCCESS [  8.363 s]
[INFO] tez-tests .......................................... SUCCESS [  2.044 s]
[INFO] tez-ui ............................................. FAILURE [  3.105 s]
[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: 38.169 s
[INFO] Finished at: 2015-07-13T15:07:23+05:30
[INFO] Final Memory: 76M/1049M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.3.2:exec (Bower install) on project tez-ui: Command execution failed. Process exited with an error: 1 (Exit value: 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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :tez-ui

如何解决?

最佳答案

根据错误,您似乎需要安装 git:

ENOGIT git is not installed or not in the PATH

此外,这可能对其他错误有帮助:https://cwiki.apache.org/confluence/display/TEZ/Build+errors+and+solutions

关于hadoop - Apache Tez 构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31380314/

相关文章:

maven - 如何强制 Maven 总是创建一个新的 jar 文件?

java - 如何排除maven中循环弃用的依赖项而不完全杀死依赖项?

java - 集成到 Maven 模块项目中

hadoop - 如何删除所有 accumulo 表或为 accumulo 格式化 hadoop 文件

hadoop - 使用 PIG 计算平均值 |许多相同的条目

java - 没有 root 权限的 Hadoop 字数统计示例

hadoop - Hive查询在尝试使用TEZ引擎时失败

hadoop - 如何使用tez更改带有ORC文件的映射器的数量?

hadoop - 了解 Hadoop 快照功能