Space: Apache Mahout (https://cwiki.apache.org/confluence/display/MAHOUT)
Page: Clustering of synthetic control data 
(https://cwiki.apache.org/confluence/display/MAHOUT/Clustering+of+synthetic+control+data)
Comment: 
https://cwiki.apache.org/confluence/display/MAHOUT/Clustering+of+synthetic+control+data?focusedCommentId=30751524#comment-30751524

Comment added by Feng Sheng:
---------------------------------------------------------------------

You should excute the command in the $MAHOUT_HOME/bin path

In reply to a comment by Ahmed Ahmedov:
I am getting the following error:
Exception in thread "main" java.lang.InterruptedException: K-Means Iteration 
failed processing output/clusters-0/part-randomSeed
        at 
org.apache.mahout.clustering.kmeans.KMeansDriver.runIteration(KMeansDriver.java:363)
        at 
org.apache.mahout.clustering.kmeans.KMeansDriver.buildClustersMR(KMeansDriver.java:310)
        at 
org.apache.mahout.clustering.kmeans.KMeansDriver.buildClusters(KMeansDriver.java:237)
        at 
org.apache.mahout.clustering.kmeans.KMeansDriver.run(KMeansDriver.java:152)
        at 
org.apache.mahout.clustering.syntheticcontrol.kmeans.Job.run(Job.java:149)
        at 
org.apache.mahout.clustering.syntheticcontrol.kmeans.Job.main(Job.java:60)
        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.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
        at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
        at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:187)
        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.hadoop.util.RunJar.main(RunJar.java:156)


I have compiled from the source using "mvn install" as shown in this tutorial. 
My hadoop is setup and works alright. 
I have alse tried "hadoop jar mahout-examples*..." still doesn't work. 
I guess I need to setup up CLASSPATH, but I just don't know how. Could you 
please help me with this issue. Sorry, I am a newbie...



Change your notification preferences: 
https://cwiki.apache.org/confluence/users/viewnotifications.action

Reply via email to