我是Apache Tez和Maven的新手,我试着在我的系统上安装Apache Tez。我使用下面的链接来安装,
http://tez.apache.org/install.html
在apache tez中提供pom.xml中,我只更改了与我的环境相同的hadoop和protobuf版本,
hadoop 2.2.0
libprotoc 2.4.1,
Tez-0.5.0
maven 3.0.5
java -1.7.0_65
在做的时候
“mvn clean package -DskipTests=true -Dmaven.javadoc.skip=true”
我得到了以下错误,
Error :
[ERROR] /home/karthick/work/apache-tez-0.5.0-src/tez-plugins/tez-yarn-timeline-history/src/main/java/org/apache/tez/dag/history/logging/ats/ATSHistoryLoggingService.java:[195,9] cannot find symbol
[ERROR] symbol: class TimelinePutError
[ERROR] location: class org.apache.tez.dag.history.logging.ats.ATSHistoryLoggingService
[ERROR] -> [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-yarn-timeline-history我已经浏览了apache tez中的ATSHistoryLoggingService.java文件,但我不能理解那里发生了什么。我不知道如何清除历史日志记录Service.So我重新尝试了一次。那一次我也得到了同样的错误。我不知道如何继续我的安装过程。
有人能帮我解决这个问题吗?提前谢谢。
发布于 2015-03-22 04:37:12
检查源代码树顶部的BUILDING.txt文件。它有一个指向“针对hadoop的特定版本进行构建”的指针。您的maven命令中缺少"-P!hadoop24“。另外,我认为你需要使用protobuf-2.5.0。
https://stackoverflow.com/questions/27010012
复制相似问题