You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@giraph.apache.org by Roberto Gonzalez <ro...@neclab.eu> on 2015/11/02 13:59:12 UTC

Giraph 1.2 fails to find org.apache.giraph:giraph-rexster-io:jar:1.2.0-SNAPSHOT

Hi all,

I'm trying to compile giraph for hadoop 2.4.1 but when I execute:

mvn -Phadoop_yarn -Dhadoop.version=2.4.1 package -DskipTests

it finish with an error:
[INFO]
------------------------------------------------------------------------
[INFO] Building Apache Giraph Distribution 1.2.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[WARNING] The POM for
org.apache.giraph:giraph-rexster-io:jar:1.2.0-SNAPSHOT is missing, no
dependency information available
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Giraph Parent ............................... SUCCESS [
5.834 s]
[INFO] Apache Giraph Core ................................. SUCCESS
[ 56.420 s]
[INFO] Apache Giraph Blocks Framework ..................... SUCCESS
[ 23.461 s]
[INFO] Apache Giraph Examples ............................. SUCCESS
[ 21.997 s]
[INFO] Apache Giraph Distribution ......................... FAILURE [
0.374 s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 01:48 min
[INFO] Finished at: 2015-11-02T12:22:49+01:00
[INFO] Final Memory: 66M/2235M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project giraph-dist: Could not resolve
dependencies for project
org.apache.giraph:giraph-dist:pom:1.2.0-SNAPSHOT: Failure to find
org.apache.giraph:giraph-rexster-io:jar:1.2.0-SNAPSHOT in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central
has elapsed or updates are forced -> [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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :giraph-dist


It seems the file org.apache.giraph:giraph-dist:pom:1.2.0-SNAPSHOT does
not exist in the repository. Any idea?

Thanks!



Re: Giraph 1.2 fails to find org.apache.giraph:giraph-rexster-io:jar:1.2.0-SNAPSHOT

Posted by Roberto Gonzalez <ro...@neclab.eu>.
Thanks!!

It worked fine!

Roberto


On Tue, 2015-11-03 at 18:26 -0300, José Luis Larroque wrote:
> I'm not an expert, but i faced the same problem a time ago. Here are
> the steps that i did for solving it. I hope that could be useful for
> you too, here they are:
> 
> 
> Don't use the "clone" command indicated in the "Quick Start Guide".
> The pom has 1.2 version, so is looking for dependencies for that
> version in maven repositories, and those jar's don't exist, because
> giraph 1.2 hasn't been released, yet.
> 
> 
> Instead of doing the clone (sudo git clone
> https://github.com/apache/giraph.git), the solution is do the
> following steps:
> 
> 
> sudo wget
> http://mirrors.nxnethosting.com/apache/giraph/giraph-1.1.0/giraph-dist-1.1.0-src.tar.gz
> 
> 
> sudo tar xzf giraph-dist-1.1.0-src.tar.gz
> 
> sudo chown -R hduser:hadoop giraph-1.1.0
> 
> sudo mv giraph-dist-1.1.0 giraph
> 
> 
> And the build finish without errors, finally!!
> 
> 
> 2015-11-02 9:59 GMT-03:00 Roberto Gonzalez
> <ro...@neclab.eu>:
>         Hi all,
>         
>         I'm trying to compile giraph for hadoop 2.4.1 but when I
>         execute:
>         
>         mvn -Phadoop_yarn -Dhadoop.version=2.4.1 package -DskipTests
>         
>         it finish with an error:
>         [INFO]
>         ------------------------------------------------------------------------
>         [INFO] Building Apache Giraph Distribution 1.2.0-SNAPSHOT
>         [INFO]
>         ------------------------------------------------------------------------
>         [WARNING] The POM for
>         org.apache.giraph:giraph-rexster-io:jar:1.2.0-SNAPSHOT is
>         missing, no
>         dependency information available
>         [INFO]
>         ------------------------------------------------------------------------
>         [INFO] Reactor Summary:
>         [INFO]
>         [INFO] Apache Giraph Parent ...............................
>         SUCCESS [
>         5.834 s]
>         [INFO] Apache Giraph Core .................................
>         SUCCESS
>         [ 56.420 s]
>         [INFO] Apache Giraph Blocks Framework .....................
>         SUCCESS
>         [ 23.461 s]
>         [INFO] Apache Giraph Examples .............................
>         SUCCESS
>         [ 21.997 s]
>         [INFO] Apache Giraph Distribution .........................
>         FAILURE [
>         0.374 s]
>         [INFO]
>         ------------------------------------------------------------------------
>         [INFO] BUILD FAILURE
>         [INFO]
>         ------------------------------------------------------------------------
>         [INFO] Total time: 01:48 min
>         [INFO] Finished at: 2015-11-02T12:22:49+01:00
>         [INFO] Final Memory: 66M/2235M
>         [INFO]
>         ------------------------------------------------------------------------
>         [ERROR] Failed to execute goal on project giraph-dist: Could
>         not resolve
>         dependencies for project
>         org.apache.giraph:giraph-dist:pom:1.2.0-SNAPSHOT: Failure to
>         find
>         org.apache.giraph:giraph-rexster-io:jar:1.2.0-SNAPSHOT in
>         http://repo1.maven.org/maven2 was cached in the local
>         repository,
>         resolution will not be reattempted until the update interval
>         of central
>         has elapsed or updates are forced -> [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/DependencyResolutionException
>         [ERROR]
>         [ERROR] After correcting the problems, you can resume the
>         build with the
>         command
>         [ERROR]   mvn <goals> -rf :giraph-dist
>         
>         
>         It seems the file
>         org.apache.giraph:giraph-dist:pom:1.2.0-SNAPSHOT does
>         not exist in the repository. Any idea?
>         
>         Thanks!
>         
>         
> 
> 

-- 
Dr. Roberto Gonzalez 
Research Scientist, Networked Systems and Data Analytics Group
NEC Europe Ltd.
NEC Laboratories Europe
Kurfürsten-Anlage 36
 
D-69115 Heidelberg
 
phone +49 6221 4342 256
fax +49 6221 4342 155
e-mail: Roberto.Gonzalez@neclab.eu
 
NEC Europe Ltd | Registered Office: Athene, Odyssey Business Park, West End  Road, 
London, HA4 6QE, GB | Registered in England 2832014

Re: Giraph 1.2 fails to find org.apache.giraph:giraph-rexster-io:jar:1.2.0-SNAPSHOT

Posted by José Luis Larroque <la...@gmail.com>.
I'm not an expert, but i faced the same problem a time ago. Here are the
steps that i did for solving it. I hope that could be useful for you too,
here they are:


*Don't use the "clone" command indicated in the "Quick Start Guide"*. The
pom has *1.2* version, so is looking for dependencies for that version in
maven repositories, and those jar's don't exist, because giraph 1.2 hasn't
been released, yet.

Instead of doing the clone (sudo git clone
https://github.com/apache/giraph.git), the solution is do the following
steps:

sudo wget
http://mirrors.nxnethosting.com/apache/giraph/giraph-1.1.0/giraph-dist-1.1.0-src.tar.gz

sudo tar xzf giraph-dist-1.1.0-src.tar.gz

sudo chown -R hduser:hadoop giraph-1.1.0

sudo mv giraph-dist-1.1.0 giraph

And the build finish without errors, finally!!

2015-11-02 9:59 GMT-03:00 Roberto Gonzalez <ro...@neclab.eu>:

> Hi all,
>
> I'm trying to compile giraph for hadoop 2.4.1 but when I execute:
>
> mvn -Phadoop_yarn -Dhadoop.version=2.4.1 package -DskipTests
>
> it finish with an error:
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache Giraph Distribution 1.2.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The POM for
> org.apache.giraph:giraph-rexster-io:jar:1.2.0-SNAPSHOT is missing, no
> dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Giraph Parent ............................... SUCCESS [
> 5.834 s]
> [INFO] Apache Giraph Core ................................. SUCCESS
> [ 56.420 s]
> [INFO] Apache Giraph Blocks Framework ..................... SUCCESS
> [ 23.461 s]
> [INFO] Apache Giraph Examples ............................. SUCCESS
> [ 21.997 s]
> [INFO] Apache Giraph Distribution ......................... FAILURE [
> 0.374 s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 01:48 min
> [INFO] Finished at: 2015-11-02T12:22:49+01:00
> [INFO] Final Memory: 66M/2235M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project giraph-dist: Could not resolve
> dependencies for project
> org.apache.giraph:giraph-dist:pom:1.2.0-SNAPSHOT: Failure to find
> org.apache.giraph:giraph-rexster-io:jar:1.2.0-SNAPSHOT in
> http://repo1.maven.org/maven2 was cached in the local repository,
> resolution will not be reattempted until the update interval of central
> has elapsed or updates are forced -> [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/DependencyResolutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :giraph-dist
>
>
> It seems the file org.apache.giraph:giraph-dist:pom:1.2.0-SNAPSHOT does
> not exist in the repository. Any idea?
>
> Thanks!
>
>
>