giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiru Pakkirisamy <kirupakkiris...@yahoo.com>
Subject Re: Error compiling Giraph
Date Sat, 11 May 2013 18:03:45 GMT
I had the same problem. Do a 'mvn3 install -DskipTests' and try again.

Regards,

- kiru



Kiru Pakkirisamy | webcloudtech.wordpress.com

--- On Sat, 5/11/13, Daglis Alexandros <alexandros.daglis@epfl.ch> wrote:

From: Daglis Alexandros <alexandros.daglis@epfl.ch>
Subject: Error compiling Giraph
To: "user@giraph.apache.org" <user@giraph.apache.org>
Date: Saturday, May 11, 2013, 9:27 AM



 
#yiv1903779235 P {margin-top:0;margin-bottom:0;}


Hello everyone,



I have had this problem for a while and cannot figure out what is the problem. I am trying
to compile the new Giraph 1.0 version with Maven (version 3.0.4) and the compilation fails:



[INFO] Building Apache Giraph Examples 1.0.0

[INFO] ------------------------------------------------------------------------

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO] 

[INFO] Apache Giraph Parent .............................. SUCCESS [1.092s]

[INFO] Apache Giraph Core ................................ SUCCESS [24.698s]

[INFO] Apache Giraph Hive I/O ............................ SUCCESS [19.941s]

[INFO] Apache Giraph Examples ............................ FAILURE [0.230s]

[INFO] Apache Giraph Accumulo I/O ........................ SKIPPED

[INFO] Apache Giraph HBase I/O ........................... SKIPPED

[INFO] Apache Giraph HCatalog I/O ........................ SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 46.453s

[INFO] Finished at: Sat May 11 18:23:11 CEST 2013

[INFO] Final Memory: 149M/2161M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal on project giraph-examples: Could not resolve dependencies
for project org.apache.giraph:giraph-examples:jar:1.0.0: Failure to find org.apache.giraph:giraph-core:jar:tests:1.0.0
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]

org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project
giraph-examples: Could not resolve dependencies for project org.apache.giraph:giraph-examples:jar:1.0.0:
Failure to find org.apache.giraph:giraph-core:jar:tests:1.0.0
 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

    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)

    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)

    at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)

    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)

    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)

    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)

    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)

    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:601)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)

    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)

    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)

    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)

Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies
for project org.apache.giraph:giraph-examples:jar:1.0.0: Failure to find org.apache.giraph:giraph-core:jar:tests:1.0.0
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

    at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:189)

    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)

    ... 22 more

Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Failure to find org.apache.giraph:giraph-core:jar:tests:1.0.0
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

    at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)

    at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:183)

    ... 23 more

Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Failure to find org.apache.giraph:giraph-core:jar:tests:1.0.0
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

    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)

    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)

    at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)

    ... 24 more

Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to find org.apache.giraph:giraph-core:jar:tests:1.0.0
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

    at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230)

    at org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204)

    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)

    ... 26 more

[ERROR] 

[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-examples





Why is there a dependecy problem? I have not added any code - it's the clean Giraph distribution.
Is this Maven's problem? Or the fact that I did not get Giraph directly from the repo, but
from the http mirror directly?



Thanks in advance,

Alexandros





Mime
View raw message