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
> 


Reply via email to