Re: Re: IllegalArgumentException on calling KMeans.train()

2014-06-04 Thread bluejoe2008
17:35 To: user Subject: Re: IllegalArgumentException on calling KMeans.train() Could you check whether the vectors have the same size? -Xiangrui On Wed, Jun 4, 2014 at 1:43 AM, bluejoe2008 wrote: > what does this exception mean? > > 14/06/04 16:35:15 ERROR executor.Executor: Exception in

Re: IllegalArgumentException on calling KMeans.train()

2014-06-04 Thread Xiangrui Meng
Could you check whether the vectors have the same size? -Xiangrui On Wed, Jun 4, 2014 at 1:43 AM, bluejoe2008 wrote: > what does this exception mean? > > 14/06/04 16:35:15 ERROR executor.Executor: Exception in task ID 6 > java.lang.IllegalArgumentException: requirement failed > at scala.Predef$.r

IllegalArgumentException on calling KMeans.train()

2014-06-04 Thread bluejoe2008
what does this exception mean? 14/06/04 16:35:15 ERROR executor.Executor: Exception in task ID 6 java.lang.IllegalArgumentException: requirement failed at scala.Predef$.require(Predef.scala:221) at org.apache.spark.mllib.util.MLUtils$.fastSquaredDistance(MLUtils.scala:271) at org.apache.spark.mll