[
https://issues.apache.org/jira/browse/GIRAPH-959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14184680#comment-14184680
]
Philipp Nolte commented on GIRAPH-959:
--------------------------------------
Why keep the profiles if they can't be built? Removing the profiles or marking
them as deprecated would prevent confusion.
> Giraph's 1.1.0 hadoop_yarn profile can no longer be built with hadoop
> 2.0.3-alpha
> ---------------------------------------------------------------------------------
>
> Key: GIRAPH-959
> URL: https://issues.apache.org/jira/browse/GIRAPH-959
> Project: Giraph
> Issue Type: Bug
> Components: build
> Affects Versions: 1.1.0
> Reporter: Philipp Nolte
> Labels: build, dependencies, hadoop-version
>
> Trying to build giraph release 1.1.0-RC1 for hadoop 2.0.3-alpha with profile
> hadoop_yarn
> {{$ git clone git://git.apache.org/giraph.git}}
> {{$ git checkout release-1.1.0-RC1}}
> {{$ mvn -Dhadoop.version=2.0.3-alpha -DskipTests -Phadoop_yarn clean package}}
> fails with lots of {{cannot find symbol}} errors:
> {noformat}
> [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]
> /Users/philipp/Code/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphYarnClient.java:[49,41]
> package org.apache.hadoop.yarn.client.api does not exist
> [ERROR]
> /Users/philipp/Code/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphYarnClient.java:[50,41]
> package org.apache.hadoop.yarn.client.api does not exist
> [ERROR]
> /Users/philipp/Code/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphYarnClient.java:[52,41]
> cannot find symbol
> [ERROR] symbol: class YarnException
> [ERROR] location: package org.apache.hadoop.yarn.exceptions
> [ERROR]
> /Users/philipp/Code/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphYarnClient.java:[88,11]
> cannot find symbol
> [ERROR] symbol: class YarnClient
> [ERROR] location: class org.apache.giraph.yarn.GiraphYarnClient
> [ERROR]
> /Users/philipp/Code/giraph/giraph-core/target/munged/main/org/apache/giraph/yarn/GiraphYarnClient.java:[115,52]
> cannot find symbol
> {noformat}
> This is probably due to missing dependencies in the hadoop_yarn profile. It
> may also mean, that giraph's hadoop_yarn profile is no longer compatible with
> hadoop 2.0.3-alpha, as hadoop-yarn-project version 2.0.3-alpha does not
> include the package org.apache.hadoop.yarn.client.api for example.
> In latter case, the pom.xml comment stating that hadoop_yarn runs on hadoop
> 2.0.3-alpha by default is deprecated and should be removed to prevent
> confusion.
> What versions of hadoop can I build giraph version 1.1.0 with the hadoop_yarn
> profile with?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)