You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Samar Lotia (JIRA)" <ji...@apache.org> on 2013/01/16 18:10:13 UTC

[jira] [Created] (MAHOUT-1141) Driver for cvb0_local does not warn about missing maxIterations command line parameter

Samar Lotia created MAHOUT-1141:
-----------------------------------

             Summary: Driver for cvb0_local does not warn about missing maxIterations command line parameter
                 Key: MAHOUT-1141
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1141
             Project: Mahout
          Issue Type: Bug
          Components: Clustering
    Affects Versions: 0.7, 0.8
         Environment: MacOS 10.8, Java 7
            Reporter: Samar Lotia
            Priority: Minor


The driver for cvb0_local does not seem to verify that the caller has specified the required maxIterations command line parameter. This results in an exception much further down which pretty much requires looking at the source to discover the source of the error.

Exception in thread "main" java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
	at org.apache.mahout.clustering.lda.cvb.InMemoryCollapsedVariationalBayes0.main2(InMemoryCollapsedVariationalBayes0.java:374)
	at org.apache.mahout.clustering.lda.cvb.InMemoryCollapsedVariationalBayes0.run(InMemoryCollapsedVariationalBayes0.java:521)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
	at org.apache.mahout.clustering.lda.cvb.InMemoryCollapsedVariationalBayes0.main(InMemoryCollapsedVariationalBayes0.java:525)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	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:195)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira