You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@giraph.apache.org by Sai Ganesh Muthuraman <sa...@gmail.com> on 2017/03/03 03:51:48 UTC

Building Giraph-1.2 on hadoop 2.6.0

Hi Alessio

I am using Java 1.8. Could that be a problem?

Sai Ganesh

Re:

Posted by Eli Reisman <ap...@gmail.com>.
That's great I'm glad it worked! A permanent fix might be to set the
`hadoop.version` in those maven dependency version entries for each of
those hadoop libs so your CLI argument will propagate correctly when you
run your build.

On Mar 3, 2017 12:46 AM, "Sai Ganesh Muthuraman" <sa...@gmail.com>
wrote:

> I rectified the error.
>
> I added version 2.6.0 myself in pom.xml for all the 3 dependencies and it
> worked
>
> Thank you
>
>

Posted by Sai Ganesh Muthuraman <sa...@gmail.com>.
I rectified the error. 

I added version 2.6.0 myself in pom.xml for all the 3 dependencies and it worked

Thank you


Re: Building Giraph-1.2 on hadoop 2.6.0

Posted by Sai Ganesh Muthuraman <sa...@gmail.com>.
Hi Alessio,

In fact, this is the specific error that I am getting 

Command mvn -Phadoop_yarn -Dhadoop.version=2.6.0 -DskipTests package

[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/apache/apache/13/apache-13.pom
4/14 KB   ^M8/14 KB   ^M12/14 KB   ^M14/14 KB   ^M           ^MDownloaded: http://repo1.maven.org/maven2/org/apache/apache/13/apache-13.pom (14 KB at 55.2 KB/sec)
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.apache.hadoop:hadoop-common:jar is missing. @ line 1277, column 21
[ERROR] 'dependencies.dependency.version' for org.apache.hadoop:hadoop-mapreduce-client-common:jar is missing. @ line 1281, column 21
[ERROR] 'dependencies.dependency.version' for org.apache.hadoop:hadoop-mapreduce-client-core:jar is missing. @ line 1285, column 21
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.apache.giraph:giraph-parent:1.2.0 (/home/saiganes/giraph-1.2.0/