2015/03/24

hadoopのprotoc2.5.0の依存がある件

Hadoop作って遊ぼうと思ったらビルドできない。

protocの最新版3.0.0ではなくver 2.5.0が必要らしい。

じゃ落とすかと思ったら、ソースが無い。

google codeからgit hubに移った時に古いreleaseを消したようだ。一番古いものでも2.6.0. うーむ困った。既にこの問題は報告されているようだけど。


[ERROR] Failed to execute goal org.apache.hadoop:hadoop-maven-plugins:3.0.0-SNAPSHOT:protoc (compile-protoc) on project hadoop-common: org.apache.maven.plugin.MojoExecutionException: protoc version is 'libprotoc 3.0.0', expected version is '2.5.0' -> [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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hadoop-common

1 件のコメント:

  1. 追加されたぜ https://github.com/google/protobuf/releases

    返信削除

まとめページ

      

リンク

The Wizard of Science
友達のブログ文化人類学とか難しい話をしております。あとホームページから自作ゲームも配布。