mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Owen <sro...@gmail.com>
Subject Re: Problems building Mahout
Date Tue, 08 Feb 2011 11:18:20 GMT
I don't believe we can reproduce that in 0.4, or trunk. As the output says,
the real error is in a log file. Can you locate the stack trace?

On Tue, Feb 8, 2011 at 11:01 AM, Petr Cvengros <pcvpcvpcv@gmail.com> wrote:

> Hello,
>
> I'm a newbie to both Mahout and Maven. I'm trying to get Mahout work
> for a recommender university project.
>
> I'm running Ubuntu 10.04, java 1.6:
> Apache Maven 2.2.1 (rdebian-1)
> Java version: 1.6.0_22
> Java home: /usr/lib/jvm/java-6-sun-1.6.0.22/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.32-26-generic" arch: "i386" Family: "unix"
>
> I downloaded the 0.4 mahout release. When I run mvn clean install -e
> in the directory I get the following error. This happens also on the
> current trunk, even if I try it multiple times, deleting the ~/.m2/
> directory. Am I doing something wrong?
>
> Thanks a lot
>
> Petr
>
> main:
>     [copy] Copying 1 file to
> /home/pcv/setup/mahout-distribution-0.4/core/target/classes
> [INFO] Executed tasks
> [INFO] [resources:testResources {execution: default-testResources}]
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
> resources, i.e. build is platform dependent!
> [INFO] Copying 3 resources
> [INFO] [compiler:testCompile {execution: default-testCompile}]
> [INFO] Compiling 196 source files to
> /home/pcv/setup/mahout-distribution-0.4/core/target/test-classes
> [INFO] [surefire:test {execution: default-test}]
> [INFO] Surefire report directory:
> /home/pcv/setup/mahout-distribution-0.4/core/target/surefire-reports
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to
> /home/pcv/setup/mahout-distribution-0.4/core/target/surefire-reports
> for the individual test results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: There are test failures.
>
> Please refer to
> /home/pcv/setup/mahout-distribution-0.4/core/target/surefire-reports
> for the individual test results.
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>        at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>        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.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.MojoFailureException: There are
> test failures.
>
> Please refer to
> /home/pcv/setup/mahout-distribution-0.4/core/target/surefire-reports
> for the individual test results.
>        at
> org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:629)
>        at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>        ... 17 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5 minutes 55 seconds
> [INFO] Finished at: Tue Feb 08 11:38:05 CET 2011
> [INFO] Final Memory: 46M/147M
> [INFO]
> ------------------------------------------------------------------------
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message