Hi, great! :) There seems to be a problem with the last commit. ( https://issues.apache.org/jira/browse/HAMA-495?focusedCommentId=13216501&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13216501 ) If you're interested.
Bye! 2012/2/25 Micle Bu <[email protected]> > Hi Thomas, > > It works! I really appreciate your help! > > Regards, > Micle Bu > > > ------------------ Original ------------------ > From: "Thomas Jungblut"<[email protected]>; > Date: Sun, Feb 26, 2012 01:05 AM > To: "hama-dev"<[email protected]>; > > Subject: Re: 'mvn install' Failed > > > Hi, > > you can add -skipTests to the end of the mvn command to skip the testcases. > I don't know why one test is failing, but this should get your Hama build > up and running. > > Execute this: > mvn clean install package -DskipTests > > good luck! > > 2012/2/25 卜长清 <[email protected]> > > > Hi guys, > > > > I'm new to Hama development. Right now I'm trying to build the project > for > > Eclipse following the instructions from > > http://wiki.apache.org/hama/HowToContribute. When I run 'mvn install', I > > got the ERROR message, can anyone help me on this problem. > > > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Reactor Summary: > > [INFO] > > [INFO] Apache Hama parent POM ............................ SUCCESS > [2.572s] > > [INFO] core .............................................. FAILURE > > [57.755s] > > [INFO] graph ............................................. SKIPPED > > [INFO] examples .......................................... SKIPPED > > [INFO] yarn .............................................. SKIPPED > > [INFO] dist .............................................. SKIPPED > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 1:00.893s > > [INFO] Finished at: Sun Feb 26 00:34:23 CST 2012 > > [INFO] Final Memory: 20M/198M > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-surefire-plugin:2.6:test (default-test) on > > project hama-core: There are test failures. > > [ERROR] > > [ERROR] Please refer to > > /usr/local/public/project/hama/hama/core/target/surefire-reports for the > > individual test results. > > [ERROR] -> [Help 1] > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > > goal org.apache.maven.plugins:maven-surefire-plugin:2.6:test > (default-test) > > on project hama-core: There are test failures. > > > > Please refer to > > /usr/local/public/project/hama/hama/core/target/surefire-reports for the > > individual test results. > > at > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > > 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.plugin.MojoFailureException: There are test > > failures. > > > > Please refer to > > /usr/local/public/project/hama/hama/core/target/surefire-reports for the > > individual test results. > > at > > > org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:55) > > at > > > org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:592) > > at > > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) > > at > > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) > > ... 19 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/MojoFailureException > > [ERROR] > > [ERROR] After correcting the problems, you can resume the build with the > > command > > [ERROR] mvn <goals> -rf :hama-core > > > > Thanks a lot! Best wishes! > > > > Micle > > > > > -- > Thomas Jungblut > Berlin <[email protected]> -- Thomas Jungblut Berlin <[email protected]>
