0

GIRAPH 1.1.0 を HADOOP 2.6.0 に追加しようとしています

GIRAPH を正しくパッケージ化するには、pom.xml を編集する必要があります。コマンドを実行しますmvn -Phadoop_yarn -Dhadoop.version=2.6.0 package

行 (1292) でデフォルトの pom.xml ファイルを編集しました。

<id>hadoop_2</id>
          <modules>
            <module>giraph-accumulo</module>
            <module>giraph-hbase</module>
            <module>giraph-hcatalog</module>
            <module>giraph-hive</module>
            <module>giraph-gora</module>
            <module>giraph-rexster</module>
            <module>giraph-dist</module>
          </modules>
           <properties>
             <hadoop.version>2.6.0</hadoop.version>

しかし、コマンドを実行すると、

[INFO] Apache Giraph Parent .............................. SUCCESS [4.183s]
[INFO] Apache Giraph Core ................................ FAILURE [5.364s]
[INFO] Apache Giraph Examples ............................ SKIPPED
[INFO] Apache Giraph Distribution ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.911s
[INFO] Finished at: Mon Mar 16 19:05:38 EET 2015
[INFO] Final Memory: 55M/1020M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.0:compile (default-compile) on project giraph-core: Compilation failure: Compilation failure:
[ERROR] /usr/local/giraph/giraph/giraph-core/target/munged/main/org/apache/giraph/comm/netty/SaslNettyClient.java:[84,68] cannot find symbol
[ERROR] symbol:   variable SASL_PROPS
[ERROR] location: class org.apache.hadoop.security.SaslRpcServer
[ERROR] /usr/local/giraph/giraph/giraph-core/target/munged/main/org/apache/giraph/comm/netty/SaslNettyServer.java:[105,62] cannot find symbol
[ERROR] symbol:   variable SASL_PROPS
[ERROR] location: class org.apache.hadoop.security.SaslRpcServer
[ERROR] -> [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/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :giraph-core

私の質問は、hadoop 2.6.0 で動作するように pom.xml をどのように変更する必要があるかということです。

4

1 に答える 1