You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Sonia Ben Ticha <be...@gnet.tn> on 2010/07/12 12:06:49 UTC

RE: build failure when try to install Mahout 0.3

Hello,
I download de Verion0.3 but when I try to build with mvn install there are many errors.

What's the difference between the src and bin version. I need to use the fuzzy-c-mean algorithm and integrate-it in may application, Can I use the jar from the bin version and use the Fuzzy c-mean in my application?

 I work under Windows 7 32 bits

Thanks

-----Message d'origine-----
De : Sean Owen [mailto:srowen@gmail.com] 
Envoyé : vendredi 9 juillet 2010 11:16
À : user@mahout.apache.org
Objet : Re: build failure when try to install Mahout 0.2

I'm not sure about that particular failure, but, version 0.2 is very
old. Version 0.3 is also released, but, it is best to use the latest
version of the code, which will become 0.4, from Subversion. I know
this does not fail in the latest code.

On Fri, Jul 9, 2010 at 9:43 AM, Sonia Ben Ticha <be...@gnet.tn> wrote:
> Hello,
>
> I’am a new Mahout’s user and i work on the recommender system.
>
> I installed Mahout 2 on my windows machine but when I execute mvn install I
> have the following message and the file .job is not created under the
> $MAHOUT_HOME/core directory .
>
>
>
> This is the error message:
>
>
>
> Results :
>
>
>
> Failed tests:
>
>
>
> Tests run: 695, Failures: 1, Errors: 0, Skipped: 0
>
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] BUILD FAILURE
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] There are test failures.
>
>
>
> Please refer to
> D:\sonia\ThèseRecHybride\environnementDev\appach\mahout-0.2-project\mahout-0
> .2\core\target\surefire-reports for the individual test results.
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] For more information, run Maven with the -e switch
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 4 minutes 58 seconds
>
> [INFO] Finished at: Tue Jul 06 17:15:13 CEST 2010
>
> [INFO] Final Memory: 32M/78M
>
> [INFO]
> ------------------------------------------------------------------------
>
>
>
>
>
>  In the file: org.apache.mahout.clustering.kmeans.TestKmeansClustering.txt
> there is this error message
>
>
>
>  Test set: org.apache.mahout.clustering.kmeans.TestKmeansClustering
>
> ----------------------------------------------------------------------------
> ---
>
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.161 sec
> <<< FAILURE!
>
> testKMeansMRJob(org.apache.mahout.clustering.kmeans.TestKmeansClustering)
> Time elapsed: 12.367 sec  <<< FAILURE!
>
> junit.framework.AssertionFailedError: clusters[3] expected:<4> but was:<2>
>
>                at junit.framework.Assert.fail(Assert.java:47)
>
>                at junit.framework.Assert.failNotEquals(Assert.java:280)
>
>                at junit.framework.Assert.assertEquals(Assert.java:64)
>
>                at junit.framework.Assert.assertEquals(Assert.java:198)
>
>                at
> org.apache.mahout.clustering.kmeans.TestKmeansClustering.testKMeansMRJob(Tes
> tKmeansClustering.java:423)
>
>
>
>  how can I solve this problem?
>
>
>
> Thank you
>
>
>
> Sonia
>
>
>
>


Re: build failure when try to install Mahout 0.3

Posted by Sean Owen <sr...@gmail.com>.
I am not sure Windows will work since Hadoop doesn't quite work on
Windows for development?
But in any event you need to post errors for anyone to provide help.
Version 0.3 builds fine for me.
You should be able to use .jar files, yes.

On Mon, Jul 12, 2010 at 11:06 AM, Sonia Ben Ticha <be...@gnet.tn> wrote:
> Hello,
> I download de Verion0.3 but when I try to build with mvn install there are many errors.
>
> What's the difference between the src and bin version. I need to use the fuzzy-c-mean algorithm and integrate-it in may application, Can I use the jar from the bin version and use the Fuzzy c-mean in my application?
>
>  I work under Windows 7 32 bits
>
> Thanks
>
> -----Message d'origine-----
> De : Sean Owen [mailto:srowen@gmail.com]
> Envoyé : vendredi 9 juillet 2010 11:16
> À : user@mahout.apache.org
> Objet : Re: build failure when try to install Mahout 0.2
>
> I'm not sure about that particular failure, but, version 0.2 is very
> old. Version 0.3 is also released, but, it is best to use the latest
> version of the code, which will become 0.4, from Subversion. I know
> this does not fail in the latest code.
>
> On Fri, Jul 9, 2010 at 9:43 AM, Sonia Ben Ticha <be...@gnet.tn> wrote:
>> Hello,
>>
>> I’am a new Mahout’s user and i work on the recommender system.
>>
>> I installed Mahout 2 on my windows machine but when I execute mvn install I
>> have the following message and the file .job is not created under the
>> $MAHOUT_HOME/core directory .
>>
>>
>>
>> This is the error message:
>>
>>
>>
>> Results :
>>
>>
>>
>> Failed tests:
>>
>>
>>
>> Tests run: 695, Failures: 1, Errors: 0, Skipped: 0
>>
>>
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [ERROR] BUILD FAILURE
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] There are test failures.
>>
>>
>>
>> Please refer to
>> D:\sonia\ThèseRecHybride\environnementDev\appach\mahout-0.2-project\mahout-0
>> .2\core\target\surefire-reports for the individual test results.
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] For more information, run Maven with the -e switch
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>> [INFO] Total time: 4 minutes 58 seconds
>>
>> [INFO] Finished at: Tue Jul 06 17:15:13 CEST 2010
>>
>> [INFO] Final Memory: 32M/78M
>>
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>>
>>
>>
>>  In the file: org.apache.mahout.clustering.kmeans.TestKmeansClustering.txt
>> there is this error message
>>
>>
>>
>>  Test set: org.apache.mahout.clustering.kmeans.TestKmeansClustering
>>
>> ----------------------------------------------------------------------------
>> ---
>>
>> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.161 sec
>> <<< FAILURE!
>>
>> testKMeansMRJob(org.apache.mahout.clustering.kmeans.TestKmeansClustering)
>> Time elapsed: 12.367 sec  <<< FAILURE!
>>
>> junit.framework.AssertionFailedError: clusters[3] expected:<4> but was:<2>
>>
>>                at junit.framework.Assert.fail(Assert.java:47)
>>
>>                at junit.framework.Assert.failNotEquals(Assert.java:280)
>>
>>                at junit.framework.Assert.assertEquals(Assert.java:64)
>>
>>                at junit.framework.Assert.assertEquals(Assert.java:198)
>>
>>                at
>> org.apache.mahout.clustering.kmeans.TestKmeansClustering.testKMeansMRJob(Tes
>> tKmeansClustering.java:423)
>>
>>
>>
>>  how can I solve this problem?
>>
>>
>>
>> Thank you
>>
>>
>>
>> Sonia
>>
>>
>>
>>
>
>