首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Elephant bird构建失败

Elephant bird构建失败
EN

Stack Overflow用户
提问于 2013-08-05 12:32:40
回答 1查看 404关注 0票数 1

由于我想使用Elephant bird在PIG中读/写JSON文件,因此下载了用于Mac的EB

代码语言:javascript
复制
git clone git://github.com/kevinweil/elephant-bird.git

,并尝试使用

代码语言:javascript
复制
mvn package

构建失败,如下所示:

代码语言:javascript
复制
[INFO] --- protobuf-maven-plugin:0.4:run (default) @ elephant-bird-core ---
[INFO] Protobuf dependency version 2.4.1
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Elephant Bird ..................................... SUCCESS [1.670s]
[INFO] Elephant Bird Hadoop Compatibility ................ SUCCESS [3.148s]
[INFO] Elephant Bird Core ................................ FAILURE [0.927s]
[INFO] Elephant Bird Cascading2 .......................... SKIPPED
[INFO] Elephant Bird Hive ................................ SKIPPED
[INFO] Elephant Bird Pig ................................. SKIPPED
[INFO] Elephant Bird Mahout .............................. SKIPPED
[INFO] Elephant Bird RCFile .............................. SKIPPED
[INFO] Elephant Bird Lucene .............................. SKIPPED
[INFO] Elephant Bird Pig Lucene .......................... SKIPPED
[INFO] Elephant Bird Examples ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.igor-petruk.protobuf:protobuf-maven-plugin:0.4:run (default) on project elephant-bird-core: Unable to find 'protoc' -> [Help 1]

我已经检查了这个链接ElephantBird package build failure:并下载了thrift 0.9,并尝试在pom.xml中指定绝对路径

如果有任何建议,请告诉我如何让它运行起来。

EN

回答 1

Stack Overflow用户

发布于 2013-09-20 16:00:15

如果您使用的是基于apt-get的系统,请尝试安装libprotobuf-java包。您还可以从源http://code.google.com/p/protobuf/downloads/detail?name=protobuf-2.4.1.tar.gz安装2.4.1版。

https://github.com/kevinweil/elephant-bird/wiki/Build-errors提到了这个错误。

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

https://stackoverflow.com/questions/18050629

复制
相关文章

相似问题

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