Hi Puneet,
That looks right to me - Hadoop 1.0.4 with Mahout 0.8.
The wiki says for current releases check the release notes. I didn't
find 0.8 in the current releases:
http://repo2.maven.org/maven2/org/apache/mahout/
So 0.8 must be the trunk, in which case check the pom. The pom in trunk
has Hadoop 1.0.4 listed.
On 12/19/2012 02:55 PM, Puneet Jaiswal wrote:
Seems like mahout 0.8 is built with hadoop 1.0.4.
I switched hadoop back to 1.0.4 and it works.
Thanks,
-Puneet
On Thu, Dec 20, 2012 at 12:11 AM, Puneet Jaiswal <[email protected]> wrote:
Hi,
I am a newbie with Mahout.
I have set up hadoop 2.0 and I am trying to run and example described here
https://cwiki.apache.org/MAHOUT/clustering-of-synthetic-control-data.html
I have copied testdata to HDFS.
Puneet:mahout pjaisw1$ hadoop fs -ls testdata
Found 1 items
-rw-r--r-- 1 pjaisw1 supergroup 288374 2012-12-19 23:48
testdata/synthetic_control.data
I get following error:
Puneet:mahout pjaisw1$ ./bin/mahout
org.apache.mahout.clustering.syntheticcontrol.kmeans.Job
Running on hadoop, using /app/hadoop/bin/hadoop and HADOOP_CONF_DIR=
MAHOUT-JOB:
/opt/openSrc/mahout/examples/target/mahout-examples-0.8-SNAPSHOT-job.jar
Exception in thread "main" java.io.IOException: Mkdirs failed to create
/tmp/hadoop-pjaisw1/hadoop-unjar221196643100499467/META-INF/license
at org.apache.hadoop.util.RunJar.ensureDirectory(RunJar.java:111)
at org.apache.hadoop.util.RunJar.unJar(RunJar.java:87)
at org.apache.hadoop.util.RunJar.unJar(RunJar.java:64)
at org.apache.hadoop.util.RunJar.main(RunJar.java:184)
Puneet:mahout pjaisw1$ hadoop fs -ls /
Found 2 items
drwxrwxrwx - pjaisw1 supergroup 0 2012-12-20 00:07 /tmp
drwxr-xr-x - pjaisw1 supergroup 0 2012-12-19 23:40 /user
I had already ran these commands to avoid write failure to /tmp
Puneet:mahout pjaisw1$ hadoop fs -chmod o+w /tmp
Puneet:mahout pjaisw1$ hadoop fs -chmod -R o+w /tmp
Any idea why I am getting this error ?
Thanks,
-Puneet