Twitter大象鸟安装

时间:2016-10-17 15:15:05

标签: installation protocol-buffers centos7 elephantbird

我正在尝试安装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. 我使用此link安装protobuf 2.4.1。
  2. mvn -Dmaven.test.skip=true package在elephant-bird目录中。
  3. 我明白了:

    [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]
    

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

0 个答案:

没有答案