java.lang.IllegalArgumentException: requirement failed: Lengths must match!
Opened this issue · 1 comments
Whats wrong with my program???
java.lang.IllegalArgumentException: requirement failed: Lengths must match!: a.length == b.length (0 != 17)
at breeze.linalg.operators.DenseVectorOps$$anon$187.apply(DenseVectorOps.scala:189)
at breeze.linalg.operators.DenseVectorOps$$anon$187.apply(DenseVectorOps.scala:187)
at breeze.linalg.NumericOps$class.$colon$eq(NumericOps.scala:183)
at breeze.linalg.DenseVector.$colon$eq(DenseVector.scala:51)
at com.cloudera.sparkts.models.ARIMAModel.forecast(ARIMA.scala:691)
at mlib.local2.TimeSeriesModel$$anonfun$3.apply(TimeSeriesModel.scala:74)
at mlib.local2.TimeSeriesModel$$anonfun$3.apply(TimeSeriesModel.scala:71)
at scala.collection.Iterator$$anon$11.next(Iterator.scala:409)
at scala.collection.Iterator$$anon$11.next(Iterator.scala:409)
at scala.collection.Iterator$class.foreach(Iterator.scala:893)
at scala.collection.AbstractIterator.foreach(Iterator.scala:1336)
at org.apache.spark.rdd.RDD$$anonfun$foreach$1$$anonfun$apply$27.apply(RDD.scala:875)
at org.apache.spark.rdd.RDD$$anonfun$foreach$1$$anonfun$apply$27.apply(RDD.scala:875)
at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1897)
at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1897)
at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:70)
at org.apache.spark.scheduler.Task.run(Task.scala:85)
at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
This is caused by this issue #143 which has already been fixed here https://github.com/sryza/spark-timeseries/pull/171/commits but not yet released.