This is definitely a bug (and seems to have been there for a while now) . Please do file a JIRA.
________________________________ From: Alan Krumholz <[email protected]> To: "[email protected]" <[email protected]> Sent: Thursday, September 5, 2013 2:00 PM Subject: Re: using KmeansDriver with HDFS I just replaced the jars in my project with mahout 0.8 jars and I get the same exception: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.apache.mahout.clustering.classify.ClusterClassifier.readFromSeqFiles(ClusterClassifier.java:215) should I file a bug? Thanks! Alan ________________________________ De: Ted Dunning <[email protected]> Para: "[email protected]" <[email protected]>; Alan Krumholz <[email protected]> Enviado: Miércoles, 4 de septiembre, 2013 23:07:02 Asunto: Re: using KmeansDriver with HDFS On Wed, Sep 4, 2013 at 6:58 PM, Alan Krumholz <[email protected]>wrote: > I pulled that code > (org.apache.mahout.clustering.classify.ClusterClassifier.readFromSeqFiles(ClusterClassifier.java:215)and > I think is trying to read a file from one of the paths I passed to the > method but with a new instance of the configuration object (not the > configuration object I passed to the method but one that doesn't have my > HDFS configured) > This is quite plausibly a bug. This is a common error when using the HDFS API. Have you checked what happens with 0.8?
