You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by LK <ro...@hotmail.com> on 2009/04/15 02:35:22 UTC

Building Mahout examples failed

Hi, 

 

I am new to Mahout. I was trying build examples and run the k-means clustering. I followed the instructions in http://cwiki.apache.org/MAHOUT/syntheticcontroldata.html but didn't generate anything in my $MAHOUT_HOME/examples folder. 

 

"$MAHOUT_HOME/mvn install" apprantely installed the core successfully (Tests run: 616, Failures: 0, Errors: 0, Skipped: 0) but failed to build the examples.  The error msg is below. 

 

Can anyone advise me how to generate a job and run the k-means clustering specified in http://cwiki.apache.org/MAHOUT/syntheticcontroldata.html ?

 

Thank you very much. 

 

--------------------------ERROR MSG-----------------------------------------

 

[INFO] ------------------------------------------------------------------------
[INFO] Building Mahout examples
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] [resources:copy-resources {execution: copy-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO] [compiler:compile]
[INFO] Compiling 95 source files to /home/chrisg/mahout/trunk/                                                                                                             

examples/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

/home/chrisg/mahout/trunk/examples/src/main/java/org/apache/ma                                                                                                             

hout/clustering/kmeans/DisplayKMeans.java:[28,42] cannot find symbol
symbol  : class VisibleCanopy
location: package org.apache.mahout.clustering.canopy

/home/chrisg/mahout/trunk/examples/src/main/java/org/apache/ma                                                                                                             

hout/clustering/canopy/DisplayCanopy.java:[93,26] cannot find symbol
symbol  : class VisibleCanopy
location: class org.apache.mahout.clustering.canopy.DisplayCanopy

/home/chrisg/mahout/trunk/examples/src/main/java/org/apache/ma                                                                                                             

hout/clustering/kmeans/DisplayKMeans.java:[161,26] cannot find symbol
symbol  : class VisibleCanopy
location: class org.apache.mahout.clustering.kmeans.DisplayKMeans

 

Re: Building Mahout examples failed

Posted by Sean Owen <sr...@gmail.com>.
Fixed, sorry.

On Wed, Apr 15, 2009 at 8:26 PM, Sean Owen <sr...@gmail.com> wrote:
> Uh oh. That is my fault for sure. I will address it the moment I am back in
> front of my computer. Worst case, roll back my change on that file today if
> it holding you up. I am surprised it broke something!

Re: Building Mahout examples failed

Posted by Sean Owen <sr...@gmail.com>.
Uh oh. That is my fault for sure. I will address it the moment I am back in
front of my computer. Worst case, roll back my change on that file today if
it holding you up. I am surprised it broke something!

On Apr 15, 2009 8:24 PM, "Jeff Eastman" <jd...@windwardsolutions.com> wrote:

This is what I see failing:

Running org.apache.mahout.cf.taste.impl.model.file.FileDataModelTest
Tests run: 9, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.252 sec
<<< FAILURE!

Jeff

Grant Ingersoll wrote: > > Can you look in the test-reports for that test
and let us know what par...

Re: Building Mahout examples failed

Posted by Jeff Eastman <jd...@windwardsolutions.com>.
This is what I see failing:

Running org.apache.mahout.cf.taste.impl.model.file.FileDataModelTest
Tests run: 9, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.252 
sec <<< FAILURE!

Jeff

Grant Ingersoll wrote:
> Can you look in the test-reports for that test and let us know what 
> part failed?
>
> -Grant
>
> On Apr 15, 2009, at 2:17 PM, LK wrote:
>
>>
>> Thank you Jeff.
>>
>> I updated my local repository and performed "mvn compile" and "mvn 
>> install" again.  Now I get another error message. Any idea?
>>
>> Running 
>> org.apache.mahout.clustering.fuzzykmeans.TestFuzzyKmeansClustering
>> Tests run: 9, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.239 
>> sec <<< FAILURE!
>>
>> Thanks
>> -- 
>> Roy
>>
>>> Date: Wed, 15 Apr 2009 08:18:37 -0700
>>> From: jeastman@windwardsolutions.com
>>> To: srowen@gmail.com
>>> CC: mahout-user@lucene.apache.org; jeastman@apache.org
>>> Subject: Re: Building Mahout examples failed
>>>
>>> VisibleCanopy has been around forever but is in the test source tree.
>>> Since the test code is not part of the example path it should not be
>>> referenced there. I notice that my recent example commit included a
>>> reference to it - an oversight - and have just committed the fix.
>>>
>>> Sorry, I broke the build :(
>>> Jeff
>>>
>>> Sean Owen wrote:
>>>> I also get this error -- looks like VisibleCanopy was not committed.
>>>> Jeff do you have ideas? I see you committed one of the files that
>>>> references it.
>>>>
>>>> 2009/4/15 LK <ro...@hotmail.com>:
>>>>
>>>>> Hi,
>>>>>
>>>>>
>>>>>
>>>>> I am new to Mahout. I was trying build examples and run the 
>>>>> k-means clustering. I followed the instructions in 
>>>>> http://cwiki.apache.org/MAHOUT/syntheticcontroldata.html but 
>>>>> didn't generate anything in my $MAHOUT_HOME/examples folder.
>>>>>
>>>>>
>>>>>
>>>>> "$MAHOUT_HOME/mvn install" apprantely installed the core 
>>>>> successfully (Tests run: 616, Failures: 0, Errors: 0, Skipped: 0) 
>>>>> but failed to build the examples.  The error msg is below.
>>>>>
>>>>>
>>>>>
>>>>> Can anyone advise me how to generate a job and run the k-means 
>>>>> clustering specified in 
>>>>> http://cwiki.apache.org/MAHOUT/syntheticcontroldata.html ?
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>
> --------------------------
> Grant Ingersoll
> http://www.lucidimagination.com/
>
> Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) 
> using Solr/Lucene:
> http://www.lucidimagination.com/search
>
>
>


Re: Building Mahout examples failed

Posted by Grant Ingersoll <gs...@apache.org>.
Can you look in the test-reports for that test and let us know what  
part failed?

-Grant

On Apr 15, 2009, at 2:17 PM, LK wrote:

>
> Thank you Jeff.
>
> I updated my local repository and performed "mvn compile" and "mvn  
> install" again.  Now I get another error message. Any idea?
>
> Running  
> org.apache.mahout.clustering.fuzzykmeans.TestFuzzyKmeansClustering
> Tests run: 9, Failures: 0, Errors: 7, Skipped: 0, Time elapsed:  
> 1.239 sec <<< FAILURE!
>
> Thanks
> --
> Roy
>
>> Date: Wed, 15 Apr 2009 08:18:37 -0700
>> From: jeastman@windwardsolutions.com
>> To: srowen@gmail.com
>> CC: mahout-user@lucene.apache.org; jeastman@apache.org
>> Subject: Re: Building Mahout examples failed
>>
>> VisibleCanopy has been around forever but is in the test source tree.
>> Since the test code is not part of the example path it should not be
>> referenced there. I notice that my recent example commit included a
>> reference to it - an oversight - and have just committed the fix.
>>
>> Sorry, I broke the build :(
>> Jeff
>>
>> Sean Owen wrote:
>>> I also get this error -- looks like VisibleCanopy was not committed.
>>> Jeff do you have ideas? I see you committed one of the files that
>>> references it.
>>>
>>> 2009/4/15 LK <ro...@hotmail.com>:
>>>
>>>> Hi,
>>>>
>>>>
>>>>
>>>> I am new to Mahout. I was trying build examples and run the k- 
>>>> means clustering. I followed the instructions in http://cwiki.apache.org/MAHOUT/syntheticcontroldata.html 
>>>>  but didn't generate anything in my $MAHOUT_HOME/examples folder.
>>>>
>>>>
>>>>
>>>> "$MAHOUT_HOME/mvn install" apprantely installed the core  
>>>> successfully (Tests run: 616, Failures: 0, Errors: 0, Skipped: 0)  
>>>> but failed to build the examples.  The error msg is below.
>>>>
>>>>
>>>>
>>>> Can anyone advise me how to generate a job and run the k-means  
>>>> clustering specified in http://cwiki.apache.org/MAHOUT/syntheticcontroldata.html 
>>>>  ?
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>

--------------------------
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids)  
using Solr/Lucene:
http://www.lucidimagination.com/search


RE: Building Mahout examples failed

Posted by LK <ro...@hotmail.com>.
Thank you Jeff. 

I updated my local repository and performed "mvn compile" and "mvn install" again.  Now I get another error message. Any idea? 

Running org.apache.mahout.clustering.fuzzykmeans.TestFuzzyKmeansClustering
Tests run: 9, Failures: 0, Errors: 7, Skipped: 0, Time elapsed: 1.239 sec <<< FAILURE!

Thanks
--
Roy

> Date: Wed, 15 Apr 2009 08:18:37 -0700
> From: jeastman@windwardsolutions.com
> To: srowen@gmail.com
> CC: mahout-user@lucene.apache.org; jeastman@apache.org
> Subject: Re: Building Mahout examples failed
> 
> VisibleCanopy has been around forever but is in the test source tree. 
> Since the test code is not part of the example path it should not be 
> referenced there. I notice that my recent example commit included a 
> reference to it - an oversight - and have just committed the fix.
> 
> Sorry, I broke the build :(
> Jeff
> 
> Sean Owen wrote:
> > I also get this error -- looks like VisibleCanopy was not committed.
> > Jeff do you have ideas? I see you committed one of the files that
> > references it.
> >
> > 2009/4/15 LK <ro...@hotmail.com>:
> >   
> >> Hi,
> >>
> >>
> >>
> >> I am new to Mahout. I was trying build examples and run the k-means clustering. I followed the instructions in http://cwiki.apache.org/MAHOUT/syntheticcontroldata.html but didn't generate anything in my $MAHOUT_HOME/examples folder.
> >>
> >>
> >>
> >> "$MAHOUT_HOME/mvn install" apprantely installed the core successfully (Tests run: 616, Failures: 0, Errors: 0, Skipped: 0) but failed to build the examples.  The error msg is below.
> >>
> >>
> >>
> >> Can anyone advise me how to generate a job and run the k-means clustering specified in http://cwiki.apache.org/MAHOUT/syntheticcontroldata.html ?
> >>
> >>
> >>     
> >
> >
> >   
> 

Re: Building Mahout examples failed

Posted by Jeff Eastman <je...@windwardsolutions.com>.
VisibleCanopy has been around forever but is in the test source tree. 
Since the test code is not part of the example path it should not be 
referenced there. I notice that my recent example commit included a 
reference to it - an oversight - and have just committed the fix.

Sorry, I broke the build :(
Jeff

Sean Owen wrote:
> I also get this error -- looks like VisibleCanopy was not committed.
> Jeff do you have ideas? I see you committed one of the files that
> references it.
>
> 2009/4/15 LK <ro...@hotmail.com>:
>   
>> Hi,
>>
>>
>>
>> I am new to Mahout. I was trying build examples and run the k-means clustering. I followed the instructions in http://cwiki.apache.org/MAHOUT/syntheticcontroldata.html but didn't generate anything in my $MAHOUT_HOME/examples folder.
>>
>>
>>
>> "$MAHOUT_HOME/mvn install" apprantely installed the core successfully (Tests run: 616, Failures: 0, Errors: 0, Skipped: 0) but failed to build the examples.  The error msg is below.
>>
>>
>>
>> Can anyone advise me how to generate a job and run the k-means clustering specified in http://cwiki.apache.org/MAHOUT/syntheticcontroldata.html ?
>>
>>
>>     
>
>
>   


Re: Building Mahout examples failed

Posted by Sean Owen <sr...@gmail.com>.
I also get this error -- looks like VisibleCanopy was not committed.
Jeff do you have ideas? I see you committed one of the files that
references it.

2009/4/15 LK <ro...@hotmail.com>:
>
> Hi,
>
>
>
> I am new to Mahout. I was trying build examples and run the k-means clustering. I followed the instructions in http://cwiki.apache.org/MAHOUT/syntheticcontroldata.html but didn't generate anything in my $MAHOUT_HOME/examples folder.
>
>
>
> "$MAHOUT_HOME/mvn install" apprantely installed the core successfully (Tests run: 616, Failures: 0, Errors: 0, Skipped: 0) but failed to build the examples.  The error msg is below.
>
>
>
> Can anyone advise me how to generate a job and run the k-means clustering specified in http://cwiki.apache.org/MAHOUT/syntheticcontroldata.html ?
>
>