0

我正在尝试安装 twitter 的 Elephant Bird 解析器,我正在按照官方 github 页面上的说明进行操作。但是每次构建都会失败。我什至不确定我是否做对了,因为我每次构建时,都会出现一个错误,上面写着:

Failed to execute goal com.github.igor-petruk.protobuf:protobuf-maven-plugin:0.6.5:run (default) on project elephant-bird-core: 'protoc' failed

我真的很困惑如何安装 protobufs。它有不同的语言,我不确定我需要选择哪种语言。它说的是动态安装。3天的工作一无所获。

有人可以指导我完成所有安装步骤(以及先决条件的安装过程)。请理解我对 linux 太天真和新手。非常感谢您的帮助。

我正在使用centos 7。

编辑:

  1. 我使用此链接安装 protobuf 2.4.1。
  2. mvn -Dmaven.test.skip=true package在大象鸟目录中。

我得到:

[INFO] Building Elephant Bird Pig 4.15-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Elephant Bird ..................................... SUCCESS [0.304s]
[INFO] Elephant Bird Hadoop Compatibility ................ SUCCESS [0.598s]
[INFO] Elephant Bird Core ................................ SUCCESS [2.513s]
[INFO] Elephant Bird Cascading2 .......................... SUCCESS [0.042s]
[INFO] Elephant Bird Cascading3 .......................... SUCCESS [0.034s]
[INFO] Elephant Bird Cascading Protobuf .................. SUCCESS [0.024s]
[INFO] Elephant Bird Crunch .............................. SUCCESS [0.101s]
[INFO] Elephant Bird Hive ................................ SUCCESS [0.114s]
[INFO] Elephant Bird Pig ................................. FAILURE [0.045s]
[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] ------------------------------------------------------------------------ 
[INFO] Total time: 4.104s
[INFO] Finished at: Mon Oct 17 13:43:13 EDT 2016
[INFO] Final Memory: 24M/750M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project elephant-bird-pig: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.15-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.15-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced -> [Help 1]

我不知道该怎么办。有人能帮我吗?

4

0 回答 0