首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在hadoop 2.2.0上构建apache Tez

如何在hadoop 2.2.0上构建apache Tez
EN

Stack Overflow用户
提问于 2014-11-19 13:58:39
回答 1查看 412关注 0票数 0

我是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”

我得到了以下错误,

代码语言:javascript
复制
   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我重新尝试了一次。那一次我也得到了同样的错误。我不知道如何继续我的安装过程。

有人能帮我解决这个问题吗?提前谢谢。

EN

回答 1

Stack Overflow用户

发布于 2015-03-22 04:37:12

检查源代码树顶部的BUILDING.txt文件。它有一个指向“针对hadoop的特定版本进行构建”的指针。您的maven命令中缺少"-P!hadoop24“。另外,我认为你需要使用protobuf-2.5.0。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27010012

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档