Roman Shaposhnik created GIRAPH-629:
---------------------------------------
Summary: YARN profile is broken when compiled against hadoop-2.0.4
Key: GIRAPH-629
URL: https://issues.apache.org/jira/browse/GIRAPH-629
Project: Giraph
Issue Type: Bug
Components: build
Affects Versions: 1.0
Reporter: Roman Shaposhnik
Assignee: Roman Shaposhnik
{noformat}
$ mvn -Phadoop_yarn -DskipTests -Dhadoop.version=2.0.4-SNAPSHOT clean package
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Giraph Parent .............................. SUCCESS [1.359s]
[INFO] Apache Giraph Core ................................ FAILURE [15.319s]
[INFO] Apache Giraph Hive I/O ............................ SKIPPED
[INFO] Apache Giraph Examples ............................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17.374s
[INFO] Finished at: Fri Apr 12 17:21:11 PDT 2013
[INFO] Final Memory: 39M/481M
[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]
/tmp/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphApplicationMaster.java:[46,42]
cannot find symbol
[ERROR] symbol : class AMResponse
[ERROR] location: package org.apache.hadoop.yarn.api.records
[ERROR]
/tmp/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphApplicationMaster.java:[206,42]
cannot find symbol
[ERROR] symbol : class AMResponse
[ERROR] location: class org.apache.giraph.yarn.GiraphApplicationMaster
[ERROR]
/tmp/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphApplicationMaster.java:[291,47]
cannot find symbol
[ERROR] symbol : class AMResponse
[ERROR] location: class org.apache.giraph.yarn.GiraphApplicationMaster
[ERROR]
/tmp/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphApplicationMaster.java:[368,11]
cannot find symbol
[ERROR] symbol : class AMResponse
[ERROR] location: class org.apache.giraph.yarn.GiraphApplicationMaster
[ERROR]
/tmp/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphApplicationMaster.java:[398,35]
cannot find symbol
[ERROR] symbol : class AMResponse
[ERROR] location: class org.apache.giraph.yarn.GiraphApplicationMaster
[ERROR]
/tmp/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphApplicationMaster.java:[178,7]
cannot find symbol
[ERROR] symbol : class AMResponse
[ERROR] location: class org.apache.giraph.yarn.GiraphApplicationMaster
[ERROR]
/tmp/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphApplicationMaster.java:[255,26]
cannot find symbol
[ERROR] symbol : method getAMResponse()
[ERROR] location: interface
org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse
[ERROR]
/tmp/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphApplicationMaster.java:[296,37]
cannot find symbol
[ERROR] symbol : method getAMResponse()
[ERROR] location: interface
org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse
[ERROR]
/tmp/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphApplicationMaster.java:[327,49]
cannot find symbol
[ERROR] symbol : method getState()
[ERROR] location: interface org.apache.hadoop.yarn.api.records.Container
[ERROR]
/tmp/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphApplicationMaster.java:[349,46]
cannot find symbol
[ERROR] symbol : method getAMResponse()
[ERROR] location: interface
org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse
[ERROR]
/tmp/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphApplicationMaster.java:[353,42]
cannot find symbol
[ERROR] symbol : method getAMResponse()
[ERROR] location: interface
org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse
[ERROR]
/tmp/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphApplicationMaster.java:[379,7]
cannot find symbol
[ERROR] symbol : class AMResponse
[ERROR] location: class org.apache.giraph.yarn.GiraphApplicationMaster
[ERROR]
/tmp/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphApplicationMaster.java:[379,44]
cannot find symbol
[ERROR] symbol : method getAMResponse()
[ERROR] location: interface
org.apache.hadoop.yarn.api.protocolrecords.AllocateResponse
[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
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira