mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Sergeant (JIRA)" <>
Subject [jira] [Created] (MAHOUT-1639) streamingkmeans doesn't properly validate estimatedNumMapClusters -km
Date Tue, 27 Jan 2015 02:41:35 GMT
Peter Sergeant created MAHOUT-1639:

             Summary: streamingkmeans doesn't properly validate estimatedNumMapClusters -km
                 Key: MAHOUT-1639
             Project: Mahout
          Issue Type: Bug
          Components: CLI
    Affects Versions: 0.9
            Reporter: Peter Sergeant
            Priority: Minor

The value of -km isn't checked by the CLI, which means if you don't specify it, you get the
rather cryptic:

Exception in thread "main" java.lang.NumberFormatException: null
	at java.lang.Integer.parseInt(
	at java.lang.Integer.parseInt(
	at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.configureOptionsForWorkers(
	at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.main(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(
	at org.apache.hadoop.util.ProgramDriver.driver(
	at org.apache.mahout.driver.MahoutDriver.main(

Other parameters give helpful error messages when required

This message was sent by Atlassian JIRA

View raw message