giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Presta <alessan...@fb.com>
Subject Re: Problem Building Apache Giraph Formats
Date Tue, 27 Nov 2012 02:05:18 GMT
You could take a look at surefire-reports and post the failing test(s). Search for the string
"error" in that folder.

From: Rui Sarmento <rui_sarmento@hotmail.com<mailto:rui_sarmento@hotmail.com>>
Reply-To: "user@giraph.apache.org<mailto:user@giraph.apache.org>" <user@giraph.apache.org<mailto:user@giraph.apache.org>>
Date: Monday, November 26, 2012 5:58 PM
To: Giraph Support <user@giraph.apache.org<mailto:user@giraph.apache.org>>
Subject: RE: Problem Building Apache Giraph Formats

running "mvn install" on trunk dir gives this result:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Giraph Parent .............................. SUCCESS [0.563s]
[INFO] Apache Giraph ..................................... FAILURE [2:23.047s]
[INFO] Apache Giraph Formats ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:23.882s
[INFO] Finished at: Tue Nov 27 01:54:17 WET 2012
[INFO] Final Memory: 27M/811M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test)
on project giraph: There are test failures.
[ERROR]
[ERROR] Please refer to /home/110414015/trunk/giraph/target/munged/surefire-reports for the
individual test results.
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :giraph

Do you need any test result in particular?

Regards

________________________________
From: alessandro@fb.com<mailto:alessandro@fb.com>
To: user@giraph.apache.org<mailto:user@giraph.apache.org>
Subject: Re: Problem Building Apache Giraph Formats
Date: Tue, 27 Nov 2012 01:37:39 +0000

The actual error seems to be:

[ERROR] Failed to execute goal on project giraph-formats-contrib: Could not resolve dependencies
for project org.apache.giraph:giraph-formats-contrib:jar:0.2-SNAPSHOT: Failure to find org.apache.giraph:giraph:jar:tests:0.2-SNAPSHOT
inhttp://repo1.maven.org/maven2<https://webmail.fep.up.pt/owa/redir.aspx?C=75173b3533ed4511adff3bbd0b6eaba9&URL=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]

Try running "mvn install" at the top level first. That should put the test jar in your local
repository.

From: Rui Sarmento <rui_sarmento@hotmail.com<mailto:rui_sarmento@hotmail.com>>
Reply-To: "user@giraph.apache.org<mailto:user@giraph.apache.org>" <user@giraph.apache.org<mailto:user@giraph.apache.org>>
Date: Monday, November 26, 2012 5:15 PM
To: Giraph Support <user@giraph.apache.org<mailto:user@giraph.apache.org>>
Subject: RE: Problem Building Apache Giraph Formats

Hi Alessandro,

The command is "mvn compile", Everything compiles with success except Apache Giraph Formats

[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Giraph Formats 0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.hadoop:hadoop-core:jar:0.20.1 is missing, no dependency information
available
[WARNING] Could not transfer metadata asm:asm/maven-metadata.xml from/to local.repository
(file:../../local.repository/trunk): No connector available to access repository local.repository
(file:../../local.repository/trunk) of type legacy using the available factories WagonRepositoryConnectorFactory
[WARNING] Failure to transfer asm:asm/maven-metadata.xml from file:../../local.repository/trunk
was cached in the local repository, resolution will not be reattempted until the update interval
of local.repository has elapsed or updates are forced. Original error: Could not transfer
metadata asm:asm/maven-metadata.xml from/to local.repository (file:../../local.repository/trunk):
No connector available to access repository local.repository (file:../../local.repository/trunk)
of type legacy using the available factories WagonRepositoryConnectorFactory
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Giraph Parent .............................. SUCCESS [0.002s]
[INFO] Apache Giraph ..................................... SUCCESS [10.759s]
[INFO] Apache Giraph Formats ............................. FAILURE [0.362s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.381s
[INFO] Finished at: Wed Nov 21 15:34:39 WET 2012
[INFO] Final Memory: 22M/824M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project giraph-formats-contrib: Could not resolve dependencies
for project org.apache.giraph:giraph-formats-contrib:jar:0.2-SNAPSHOT: Failure to find org.apache.giraph:giraph:jar:tests:0.2-SNAPSHOT
inhttp://repo1.maven.org/maven2<https://webmail.fep.up.pt/owa/redir.aspx?C=75173b3533ed4511adff3bbd0b6eaba9&URL=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<https://webmail.fep.up.pt/owa/redir.aspx?C=75173b3533ed4511adff3bbd0b6eaba9&URL=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-formats-contrib


Thanks,

Rui


________________________________
From: alessandro@fb.com<mailto:alessandro@fb.com>
To: user@giraph.apache.org<mailto:user@giraph.apache.org>
Subject: Re: Problem Building Apache Giraph Formats
Date: Tue, 27 Nov 2012 00:57:48 +0000

Hi Rui,

The default profile shouldn't be 0.20.1. Are you running plain "mvn verify" or something else?
Also, can you post the other error you're getting?

Alessandro

From: Rui Sarmento <rui_sarmento@hotmail.com<mailto:rui_sarmento@hotmail.com>>
Reply-To: "user@giraph.apache.org<mailto:user@giraph.apache.org>" <user@giraph.apache.org<mailto:user@giraph.apache.org>>
Date: Monday, November 26, 2012 2:46 PM
To: "user@giraph.apache.org<mailto:user@giraph.apache.org>" <user@giraph.apache.org<mailto:user@giraph.apache.org>>
Subject: FW: Problem Building Apache Giraph Formats


Hi,

I'm trying to build giraph and I'm getting this error I don't know how to correct it, maybe
you can help, what are your thoughts about this:

[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Giraph Formats 0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.hadoop:hadoop-core:jar:0.20.1 is missing, no dependency information
available

It also complains about maven repositories FYI.

Thanks in Advance for your help. If more information is needed I'll be glad to help.

Regards,

Rui

Mime
View raw message