mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Krumholz <>
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(
    at java.util.ArrayList.get(
    at org.apache.mahout.clustering.classify.ClusterClassifier.readFromSeqFiles(

should I file a bug?



 De: Ted Dunning <>
Para: "" <>; Alan Krumholz <>

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 <>wrote:

> I pulled that code
> (org.apache.mahout.clustering.classify.ClusterClassifier.readFromSeqFiles(
> 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

Have you checked what happens with 0.8?
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message