java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • PredioctionIO: Cannot resolve the host name
    via Stack Overflow by Evgeniy
    ,
  • Save object in cassandra using spark and java
    via Stack Overflow by chris
    ,
  • Package import error
    via by Amar Pawar,
  • Error parsing Set-Cookie header
    via GitHub by doxxx
    ,
    • java.lang.IllegalArgumentException: requirement failed: RDD[Rating] in PreparedData cannot be empty. Please check if DataSource generates TrainingData and Preprator generates PreparedData correctly. at scala.Predef$.require(Predef.scala:233) at io.cordial.test.ALSAlgorithm.train(ALSAlgorithm.scala:35) at io.cordial.test.ALSAlgorithm.train(ALSAlgorithm.scala:22) at io.prediction.controller.PAlgorithm.trainBase(PAlgorithm.scala:47) at io.prediction.controller.Engine$$anonfun$18.apply(Engine.scala:689) at io.prediction.controller.Engine$$anonfun$18.apply(Engine.scala:689) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) at scala.collection.immutable.List.foreach(List.scala:318) at scala.collection.TraversableLike$class.map(TraversableLike.scala:244) at scala.collection.AbstractTraversable.map(Traversable.scala:105) at io.prediction.controller.Engine$.train(Engine.scala:689) at io.prediction.controller.Engine.train(Engine.scala:174) at io.prediction.workflow.CoreWorkflow$.runTrain(CoreWorkflow.scala:65) at io.prediction.workflow.CreateWorkflow$.main(CreateWorkflow.scala:247) at io.prediction.workflow.CreateWorkflow.main(CreateWorkflow.scala) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:672) at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180) at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205) at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120) at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)

    Users with the same issue

    Handemelindo
    3 times, last one,
    rp
    61 times, last one,
    poroszd
    15 times, last one,
    richard77
    9 times, last one,
    Unknown visitor1 times, last one,
    43 more bugmates