6

我正在尝试对 mahout kmeans 聚类示例(synthetic_control 示例)的输出执行“clusterdump”。但我遇到以下错误:

> ~/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]
.....

所以我猜clusterdump没有“seqFileDir”选项,但所有在线教程(例如https://cwiki.apache.org/MAHOUT/cluster-dumper.html)都引用了这个选项。你能建议我补救办法还是我错过了什么?

4

1 回答 1

2

您是否尝试将其指定为--input选项?

于 2012-06-22T08:56:42.483 回答