java.lang.IllegalArgumentException: requirement failed: RDD[Rating] in PreparedData cannot be empty. Please check if DataSource generates TrainingData and Preprator generates PreparedData correctly.

Stack Overflow | Evgeniy | 4 months ago
  1. 0

    PredioctionIO: Cannot resolve the host name

    Stack Overflow | 4 months ago | Evgeniy
    java.lang.IllegalArgumentException: requirement failed: RDD[Rating] in PreparedData cannot be empty. Please check if DataSource generates TrainingData and Preprator generates PreparedData correctly.
  2. 0

    Apache Spark User List - java.lang.IllegalArgumentException: requirement failed: No output operations registered, so nothing to execute

    nabble.com | 5 months ago
    java.lang.IllegalArgumentException: requirement failed: No output operations registered, so nothing to execute
  3. 0

    Save object in cassandra using spark and java

    Stack Overflow | 1 year ago | chris
    java.lang.IllegalArgumentException: requirement failed: Columns not found in class com.app.models.User: [username]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Identifiers that differ only in case are handled incorrectly in non-case sensitive filesystems

    GitHub | 2 years ago | denisrosset
    java.lang.IllegalArgumentException: requirement failed: Source file '/Users/rossetd0/Documents/phd/spire/core/target/scala-2.11/classes/spire/optional/optionAction.class' does not exist.
  6. 0

    ClassfileManager crashes when name hashing is enabled

    GitHub | 3 years ago | gkossakowski
    java.lang.IllegalArgumentException: requirement failed: Source file '/home/alois/timeout/jvm/target/classes.bak/sbt3697008749647665633.class' does not exist.
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Scala
    Predef$.require
    1. scala.Predef$.require(Predef.scala:233)
    1 frame
  3. io.cordial.test
    ALSAlgorithm.train
    1. io.cordial.test.ALSAlgorithm.train(ALSAlgorithm.scala:35)
    2. io.cordial.test.ALSAlgorithm.train(ALSAlgorithm.scala:22)
    2 frames
  4. io.prediction.controller
    Engine$$anonfun$18.apply
    1. io.prediction.controller.PAlgorithm.trainBase(PAlgorithm.scala:47)
    2. io.prediction.controller.Engine$$anonfun$18.apply(Engine.scala:689)
    3. io.prediction.controller.Engine$$anonfun$18.apply(Engine.scala:689)
    3 frames
  5. Scala
    AbstractTraversable.map
    1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
    3. scala.collection.immutable.List.foreach(List.scala:318)
    4. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
    5. scala.collection.AbstractTraversable.map(Traversable.scala:105)
    5 frames
  6. io.prediction.controller
    Engine.train
    1. io.prediction.controller.Engine$.train(Engine.scala:689)
    2. io.prediction.controller.Engine.train(Engine.scala:174)
    2 frames
  7. io.prediction.workflow
    CreateWorkflow.main
    1. io.prediction.workflow.CoreWorkflow$.runTrain(CoreWorkflow.scala:65)
    2. io.prediction.workflow.CreateWorkflow$.main(CreateWorkflow.scala:247)
    3. io.prediction.workflow.CreateWorkflow.main(CreateWorkflow.scala)
    3 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  9. Spark
    SparkSubmit.main
    1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:672)
    2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180)
    3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)
    4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
    5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
    5 frames