You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by co...@apache.org on 2012/11/01 06:45:00 UTC
[CONF] Apache Mahout > Clustering of synthetic control data
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=30740929#comment-30740929
Comment added by Steven. C. Chan:
---------------------------------------------------------------------
So do I.
I solved this problem using replacing the Hadoop with higher version, say hadoop-1.0.3, and it works well.
Maybe Mahout 0.5 or higher version are incompatible with hadoop-0.20.2 or elder version. But I am actually not quite understand the reasons. Anyone knows the reason, welcome to reply.
Thanks.
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