Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.IllegalArgumentException: requirement failed: Lengths must match! #210

Open
chensi2017 opened this issue Nov 1, 2018 · 1 comment

Comments

@chensi2017
Copy link

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)

@neeleshkshukla
Copy link

neeleshkshukla commented Jul 31, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants