try increasing MAVEN heap size export MAVEN_OPTS=-Xmx1024m
On Tue, Apr 6, 2010 at 2:12 AM, Sergio <[email protected]> wrote: > Hello All ! > I'm really new in mahout !!! and i have a beginner question. > > Yesterday i downloaded mahout from SVN , i changed to core and when > > i make mvn compile everything was ok , then i make mvn install i get > > a message. > > [INFO] ------------------------------------------------------------- > > [ERROR] BUILD FAILURE > > [INFO] ------------------------------------------------------------- > > [INFO] There are test failures. > > so when i go to see what happend, in the file > > /trunk/core/target/surefire-reports > > /org.apache.mahout.clustering.TestPrintableInterface.txt > > i see ... > > ------------------------------------------------------------------- > Test set: org.apache.mahout.clustering.TestPrintableInterface > ------------------------------------------------------------------- > Tests run: 22, Failures: 19, Errors: 0, Skipped: 0, Time elapsed: > 0.119 sec <<<FAILURE! > testDirichletNormalModel(org.apache.mahout.clustering. > TestPrintableInterface) > Time elapsed: 0.008 sec <<< FAILURE! > junit.framework.ComparisonFailure: format > expected:<nm{n=0 m=[1[.100, 2.200,3.300] sd=0.]75}> > but was:<nm{n=0 m=[1[,100, 2,200, 3,300] sd=0,]75}> > > at junit.framework.Assert.assertEquals(Assert.java:81) > at org.apache.mahout.clustering.TestPrintableInterface. > testDirichletNormalModel(TestPrintableInterface.java:55) > 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 junit.framework.TestCase.runTest(TestCase.java:168) > at junit.framework.TestCase.runBare(TestCase.java:134) > at junit.framework.TestResult$1.protect(TestResult.java:110) > at junit.framework.TestResult.runProtected(TestResult.java:128) > at junit.framework.TestResult.run(TestResult.java:113) > at junit.framework.TestCase.run(TestCase.java:124) > at junit.framework.TestSuite.runTest(TestSuite.java:232) > at junit.framework.TestSuite.run(TestSuite.java:227) > at org.junit.internal.runners.JUnit38ClassRunner.run > (JUnit38ClassRunner.java:83) > at org.apache.maven.surefire.junit4.JUnit4TestSet.execute > (JUnit4TestSet.java:59) > at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite. > executeTestSet(AbstractDirectoryTestSuite.java:115) > at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite > .execute(AbstractDirectoryTestSuite.java:102) > at org.apache.maven.surefire.Surefire.run(Surefire.java:180) > 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.apache.maven.surefire.booter.SurefireBooter. > runSuitesInProcess(SurefireBooter.java:350) > at org.apache.maven.surefire.booter.SurefireBooter.main > (SurefireBooter.java:1021) > > I have not copied the entire text because i saw the same error in > the others error's reports. > So I have been looking for a problem in the method code > testDirichletNormalModel() seems to be that the variable model in > TestPrintableInterface class has not the format expected. > Could help me with this. > I have another question, even with this error I can use the Mahout > to go experimenting. I must implement a news recommendation system > and according to what I've read Mahout is the most appropriate > tool for these things. > > Thank you very much > Sergio > > PS: Sorry for my English I'm Cuban and I do not write well in English. > > >
