Return-Path: X-Original-To: apmail-giraph-user-archive@www.apache.org Delivered-To: apmail-giraph-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2671910E26 for ; Wed, 19 Jun 2013 09:25:24 +0000 (UTC) Received: (qmail 47870 invoked by uid 500); 19 Jun 2013 09:25:14 -0000 Delivered-To: apmail-giraph-user-archive@giraph.apache.org Received: (qmail 47705 invoked by uid 500); 19 Jun 2013 09:25:11 -0000 Mailing-List: contact user-help@giraph.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@giraph.apache.org Delivered-To: mailing list user@giraph.apache.org Received: (qmail 47678 invoked by uid 99); 19 Jun 2013 09:25:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 09:25:00 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of hjyin87@gmail.com designates 209.85.128.170 as permitted sender) Received: from [209.85.128.170] (HELO mail-ve0-f170.google.com) (209.85.128.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 09:24:55 +0000 Received: by mail-ve0-f170.google.com with SMTP id 14so3900465vea.29 for ; Wed, 19 Jun 2013 02:24:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6vY1Ibjoa/abYku1E8WeG4VtzihQBLFgIIMFMwc/hIw=; b=ONlhBaQUdfZ3lQpyZp+1YzMVKYmyGPmI9zwxF/NOVPp8PKVg13Yggyca7drN0mn17F l+o8Y8AxrtW2h9qJl373+A+zhyEmcwvnuE59ovGK31oh3jk+3xFEbtJKmAtH+uw4K8Bu 5gm/+xRgrUWJl53jw1y/i4wV8Uh5ea5aEO8vJwTsK4S+BaZLf/p4FUXAD2SqRz/Pt+LI N0cdw16P0JoSBokjPkWClMnk/I7JvZ4tQnD9EUxW0E+B9zQZtxGAMfSiVIRNWbMZV1y8 4mkFqhcsK7d4UBg7Asdj3ALQjs0oFr3HQWiWtYhHTHytBIYLvExwjowdvgzRIT0FFTjX 13UQ== MIME-Version: 1.0 X-Received: by 10.52.71.78 with SMTP id s14mr535829vdu.43.1371633874857; Wed, 19 Jun 2013 02:24:34 -0700 (PDT) Received: by 10.52.97.3 with HTTP; Wed, 19 Jun 2013 02:24:34 -0700 (PDT) In-Reply-To: References: Date: Wed, 19 Jun 2013 17:24:34 +0800 Message-ID: Subject: Re: failed to compile giraph 1.0 From: =?GB2312?B?0vy67L78?= To: user@giraph.apache.org Content-Type: multipart/alternative; boundary=bcaec5015ed3df746d04df7e6558 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5015ed3df746d04df7e6558 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable 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 > 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.671= s] > [INFO] Apache Giraph Core ................................ SUCCESS > [43.877s] > [INFO] Apache Giraph Hive I/O ............................ SUCCESS > [34.716s] > [INFO] Apache Giraph Examples ............................ FAILURE [0.096= s] > [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 proje= ct > 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 h= as > elapsed or updates are forced > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDepend= encies(LifecycleDependencyResolver.java:210) > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolvePr= ojectDependencies(LifecycleDependencyResolver.java:117) > at > org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreRes= olved(MojoExecutor.java:258) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav= a:201) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav= a:153) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.jav= a:145) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(L= ifecycleModuleBuilder.java:84) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(L= ifecycleModuleBuilder.java:59) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(= LifecycleStarter.java:183) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleSta= rter.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(DelegatingMethodAccessorI= mpl.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:23= 0) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launch= er.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 h= as > elapsed or updates are forced > at > org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(Defau= ltProjectDependenciesResolver.java:189) > at > org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDepend= encies(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 h= as > elapsed or updates are forced > at > org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependen= cies(DefaultRepositorySystem.java:375) > at > org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(Defau= ltProjectDependenciesResolver.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 h= as > elapsed or updates are forced > at > org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(Default= ArtifactResolver.java:538) > at > org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact= s(DefaultArtifactResolver.java:216) > at > org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependen= cies(DefaultRepositorySystem.java:358) > ... 24 more > Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failur= e > 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 h= as > 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(Default= ArtifactResolver.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/DependencyResolutionExce= ption > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn -rf :giraph-examples > --=20 Best regards, Your sincerely Hongjun Yin(=D2=FC=BA=EC=BE=FC) School of Computer Science and Technology, University of Science and Technology of China. --bcaec5015ed3df746d04df7e6558 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable
hello,  I think it's something wrong with your ma= ven 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 p= roject. I hope it can help you.


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

I heard about giraph a while ago. Great t= o 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. &nb= sp;=20 However, I encounter the following errors when I tried to compile it.

I'd like to run some examples but the examples module failed. Anybo= dy 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: 44= M/2378M
[INFO] ---------------------------------------------------------= ---------------
[ERROR] Failed to execute goal on project giraph-example= s: Could not resolve dependencies for project org.apache.giraph:giraph-exam= ples:jar:1.0.0: Failure to find org.apache.giraph:giraph-core:jar:tes
ts:1.0.0 in htt= p://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted=20 until the update interval of central has elapsed or updates are forced=20 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to=20 execute goal on project giraph-examples: Could not resolve dependencies=20 for project org.apache.giraph:giraph-examples:jar:1.0.0: Failure to find or= g.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=20 until the update interval of central has elapsed or updates are forced
        at org.apache.maven.lifecycle.in= ternal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResol= ver.java:210)
        at org.apache.m= aven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependenc= ies(LifecycleDependencyResolver.java:117)
        at org.apache.maven.lifecycle.in= ternal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)        at org.apache.maven.lifecycle.i= nternal.MojoExecutor.execute(MojoExecutor.java:201)
   &n= bsp;    at org.apache.maven.lifecycle.internal.MojoExecutor.= execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.in= ternal.MojoExecutor.execute(MojoExecutor.java:145)
   &nb= sp;    at org.apache.maven.lifecycle.internal.LifecycleModul= eBuilder.buildProject(LifecycleModuleBuilder.java:84)
   =      at org.apache.maven.lifecycle.internal.LifecycleMo= duleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.in= ternal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
&= nbsp;       at org.apache.maven.lifecycle.int= ernal.LifecycleStarter.execute(LifecycleStarter.java:161)
  &n= bsp;     at org.apache.maven.DefaultMaven.doExecute(Def= aultMaven.java:320)
        at org.apache.maven.DefaultMaven= .execute(DefaultMaven.java:156)
      &nbs= p; at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 &nb= sp;      at org.apache.maven.cli.MavenCli.doMain(M= avenCli.java:196)
        at org.apac= he.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAcces= sorImpl.invoke0(Native Method)
       = ; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j= ava:39)
        at sun.reflect.Delega= tingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invo= ke(Method.java:597)
        at org.co= dehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:29= 0)
        at org.codehaus.plexus.cla= ssworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworl= ds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
  &nb= sp;     at org.codehaus.plexus.classworlds.launcher.Lau= ncher.main(Launcher.java:352)
Caused by: org.apache.maven.project.Depend= encyResolutionException: Could not resolve dependencies for project org.apa= che.giraph:giraph-examples:jar:1.0.0: Failure to find org.apache.giraph:gir= aph-core:jar:tests:1.0.0 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted=20 until the update interval of central has elapsed or updates are forced
        at org.apache.maven.project.Defa= ultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.j= ava:189)
        at org.apache.maven.= lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDep= endencyResolver.java:185)
        ... 22 more
Caused by: org.so= natype.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=20 until the update interval of central has elapsed or updates are forced
        at org.sonatype.aether.impl.inte= rnal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.ja= va:375)
        at org.apache.maven.p= roject.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependencie= sResolver.java:183)
        ... 23 more
Caused by: org.so= natype.aether.resolution.ArtifactResolutionException: Failure to find org.a= pache.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=20 until the update interval of central has elapsed or updates are forced
        at org.sonatype.aether.impl.inte= rnal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
&= nbsp;       at org.sonatype.aether.impl.inter= nal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:2= 16)
        at org.sonatype.aether.impl.inte= rnal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.ja= va:358)
        ... 24 more
Caused= by: org.sonatype.aether.transfer.ArtifactNotFoundException: Failure to fin= d 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=20 until the update interval of central has elapsed or updates are forced
        at org.sonatype.aether.impl.inte= rnal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:= 230)
        at org.sonatype.aether.i= mpl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckMana= ger.java:204)
        at org.sonatype.aether.impl.inte= rnal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427)
&= nbsp;       ... 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 co= mmand
[ERROR]   mvn <goals> -rf :giraph-examples



--
Best regards,
Your sincerely Hongjun Yin(=D2=FC=BA=EC=BE=FC)
=
School of Computer Science and Technology, University of Science and T= echnology of China.
--bcaec5015ed3df746d04df7e6558--