giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 尹红军 <hjyi...@gmail.com>
Subject Re: failed to compile giraph 1.0
Date Wed, 19 Jun 2013 09:24:34 GMT
hello,  I think it's something wrong with your maven repository.You can't
get the dependencies packages from http://repo1.maven.org/maven2.   So I
advise you execut "mvn install" first, and then compile your project. I
hope it can help you.


2013/6/19 Lei Tang <leitang.backyard@gmail.com>

> Hi,
>
> I heard about giraph a while ago. Great to see the recent release of
> version 1.0.0.
>
> I just downloaded giraph 1.0.0 and want to have a fresh test of it.
> However, I encounter the following errors when I tried to compile it.
>
> I'd like to run some examples but the examples module failed. Anybody can
> help?   Thank you very much.
>
>
> Below is the log info from mvn command: mvn -Phadoop_non_secure -e -X
> compile
>
> [INFO] ------------------------------
> ------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache Giraph Parent .............................. SUCCESS [1.671s]
> [INFO] Apache Giraph Core ................................ SUCCESS
> [43.877s]
> [INFO] Apache Giraph Hive I/O ............................ SUCCESS
> [34.716s]
> [INFO] Apache Giraph Examples ............................ FAILURE [0.096s]
> [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: 1:22.488s
> [INFO] Finished at: Tue Jun 18 22:51:44 PDT 2013
> [INFO] Final Memory: 44M/2378M
> [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:tes
> ts: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:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         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]
> [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
>



-- 
Best regards,
Your sincerely Hongjun Yin(尹红军)
School of Computer Science and Technology, University of Science and
Technology of China.

Mime
View raw message