Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

is there any seqFileDir option for "clusterdump" in the latest "apache mahout" library?

I am trying to do a "clusterdump" on the output of mahout kmeans clustering example (synthetic_control example). But I am experiencing the following error:

> ~/MAHOUT/trunk/bin/mahout clusterdump --seqFileDir clusters-10-final --pointsDir clusteredPoints --output a1.txt

MAHOUT_LOCAL is not set; adding HADOOP_CONF_DIR to classpath.
Running on hadoop, using /usr/lib/hadoop/bin/hadoop and HADOOP_CONF_DIR=/usr/lib/hadoop/conf/
MAHOUT-JOB: /home/<username>/MAHOUT/trunk/examples/target/mahout-examples-0.8-SNAPSHOT-job.jar

12/06/21 22:43:18 WARN conf.Configuration: DEPRECATED: hadoop-site.xml found in the classpath. Usage of hadoop-site.xml is deprecated. Instead use core-site.xml, mapred-site.xml and hdfs-site.xml to override properties of core-default.xml, mapred-default.xml and hdfs-default.xml respectively

12/06/21 22:43:25 ERROR common.AbstractJob: Unexpected --seqFileDir while processing Job-Specific Options:
usage: <command> [Generic Options] [Job-Specific Options]
.....

So I guess there is no "seqFileDir" option for clusterdump but all the online tutorials (e.g https://cwiki.apache.org/MAHOUT/cluster-dumper.html) refer this option. Can you please suggest me the remedy or what I am missing ?

like image 352
Aniruddha Basak Avatar asked Jun 21 '12 23:06

Aniruddha Basak


1 Answers

Had you tried to specify it as --input option?

like image 62
Alex Ott Avatar answered Oct 15 '22 01:10

Alex Ott