mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Krumholz <alan_krumh...@yahoo.com.mx>
Subject Re: using KmeansDriver with HDFS
Date Thu, 05 Sep 2013 18:00:47 GMT
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 <ted.dunning@gmail.com>
Para: "user@mahout.apache.org" <user@mahout.apache.org>; Alan Krumholz <alan_krumholz@yahoo.com.mx>

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 <alan_krumholz@yahoo.com.mx>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?
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message