mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: mahout quickstart-kmeans script sequencefile parameter
Date Tue, 01 Jun 2010 19:43:13 GMT
Can you try doing an SVN update and then "mvn install" and then run again?

On May 31, 2010, at 12:28 PM, Tommy Chheng wrote:

> Hi,
> I'm using the quickstart-kmeans.sh script from https://issues.apache.org/jira/browse/MAHOUT-390
to run the example kmeans. I'm on mahout trunk.
> 
> It fails on the SequenceFile generation step:
> $./bin/mahout seqdirectory -i ./work/reuters-out/ -o ./work/reuters-out-seqdir -c UTF-8
> no HADOOP_CONF_DIR or HADOOP_HOME set, running locally
> Exception in thread "main" org.apache.commons.cli2.OptionException: Unexpected -i while
processing Options
>        at org.apache.commons.cli2.commandline.Parser.parse(Parser.java:99)
>        at org.apache.mahout.text.SequenceFilesFromDirectory.main(SequenceFilesFromDirectory.java:205)
>        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:174)
> 
> Alternatively, I tried ./bin/mahout seqdirectory --input ./work/reuters-out/ -o ./work/reuters-out-seqdir
-c UTF-8 but the get the same unexpected --input error.
> 
> 
> -- 
> 
> @tommychheng
> Programmer and UC Irvine Graduate Student
> Find a great grad school based on research interests: http://gradschoolnow.com
> 



Mime
View raw message