我下載ElephantBird源,並試圖通過運行「MVN套裝」建設,但我收到以下錯誤:我使用MVN版本3.0.3ElephantBird包構建失敗:
[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]
,我在嘗試Mac和Ubuntu,但我得到了同樣的錯誤。
EDIT1:
感謝羅蘭的言論,我通過升級協議緩存解決了上述問題。我也裝節儉0.7.0,但現在我有象豬生成過程中的另一個編譯失敗:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) on project elephant-bird-pig: Compilation failure: Compilation failure: [ERROR] /root/elephant-bird/pig/src/test/java/com/twitter/elephantbird/pig/util/TestThriftNameWritableConverter.java:[12,26] invalid inferred types for W; inferred type does not conform to declared bound(s)
看起來錯誤是由於單元測試代碼中的一些Java通用代碼語法造成的。 – kee