Ok. So tests are just tests... not needed for having mahout running.... Thanks!
-----Original Message----- From: Paritosh Ranjan [mailto:pran...@xebia.com] Sent: Thursday, September 13, 2012 1:15 PM To: user@mahout.apache.org; d_scarla...@yahoo.es Subject: Re: Building Mahout The current build is broken as sometimes happens with development https://builds.apache.org/job/Mahout-Quality/1658/console. Till the time it gets fixed, I would suggest to skip tests and build. On 13-09-2012 15:59, David Scarlatti wrote: > Hi, I'm installing Mahout, following this steps ( > http://cloudblog.8kmiles.com/2012/01/31/apache-mahout-installation-on- > hadoop-cluster/ > ): > > user1@ubuntu-server:~$ apt-get install maven2 > > user1@ubuntu-server:~$ cd /opt > > user1@ubuntu-server:~$ svn co > http://svn.apache.org/repos/asf/mahout/trunk > > user1@ubuntu-server:~$ mv trunk mahout_trunk > > user1@ubuntu-server:~$ ln -s mahout_trunk/ mahout > > user1@ubuntu-server:~$ cd mahout > > user1@ubuntu-server:~$ mvn install > > > I get this result: > > Results : > > Failed tests: > testCanopyEuclideanMRJobNoClustering(org.apache.mahout.clustering.meanshift.TestMeanShift): > count expected:<3> but was:<4> > > Tests run: 676, Failures: 1, Errors: 0, Skipped: 0 > > [INFO] > ---------------------------------------------------------------------- > -- > [ERROR] BUILD FAILURE > [INFO] > ---------------------------------------------------------------------- > -- > [INFO] There are test failures. > > Please refer to /opt/mahout_trunk/core/target/surefire-reports for the > individual test results. > [INFO] > ---------------------------------------------------------------------- > -- [INFO] For more information, run Maven with the -e switch [INFO] > ---------------------------------------------------------------------- > -- [INFO] Total time: 51 minutes 43 seconds [INFO] Finished at: Thu > Sep 13 12:27:34 CEST 2012 [INFO] Final Memory: 50M/399M [INFO] > ---------------------------------------------------------------------- > -- > > > > > > It seems it is know (same web page says: P.S.: Sometimes some tests > fail while building mahout from source. In such cases use - > user1@ubuntu-server:~$ mvn -DskipTests install) > > I'd like to understand what exactly the test run are... are they optional? > > An installation with -DskipTests is the same than the "clean" one? > > Are any documentation available explaining the installation a bit...? > > Thanks in advance. >