SimpleKMeansClustering runs ok locally while IndexOutOfBoundsException on HDFS

2013-11-01 Thread Shengjie Min
Hi guys, I am running the SimpleKmeansClustering exmaple under the env below: Hadoop: 2.0.0-cdh4.3.0 mahout: 0.7-cdh4.3.0 code is here: *http://www.wepaste.com/SimpleKmeansClustering/* * * when I run it in a local model, all the output,clusters folders,files just

Re: SimpleKMeansClustering runs ok locally while IndexOutOfBoundsException on HDFS

2013-11-01 Thread Gokhan Capan
Hi Shengjie, I believe this means the list of the prior clusters has a zero length. Could you check if the output of the iteration prior to the failed one is written to the path you provided properly? Best Gokhan On Fri, Nov 1, 2013 at 8:15 AM, Shengjie Min shengjie@gmail.com wrote: