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

 

Reply via email to