Uploaded image for project: 'Giraph'
  1. Giraph
  2. GIRAPH-629

YARN profile is broken when compiled against hadoop-2.0.4

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None

      Description

      $ 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
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rvs Roman Shaposhnik
                Reporter:
                rvs Roman Shaposhnik
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: