org.apache.spark.SparkException: Checkpoint RDD ReliableCheckpointRDD[232] at aggregate at ALS.scala:1182(0) has different number of partitions from original RDD itemFactors-10 MapPartitionsRDD[230] at mapValues at ALS.scala:1131(18)

Stack Overflow | Hsiang | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Spark MLlib error on trainimplicit

    Stack Overflow | 6 months ago | Hsiang
    org.apache.spark.SparkException: Checkpoint RDD ReliableCheckpointRDD[232] at aggregate at ALS.scala:1182(0) has different number of partitions from original RDD itemFactors-10 MapPartitionsRDD[230] at mapValues at ALS.scala:1131(18)

    Root Cause Analysis

    1. org.apache.spark.SparkException

      Checkpoint RDD ReliableCheckpointRDD[232] at aggregate at ALS.scala:1182(0) has different number of partitions from original RDD itemFactors-10 MapPartitionsRDD[230] at mapValues at ALS.scala:1131(18)

      at org.apache.spark.rdd.ReliableRDDCheckpointData.doCheckpoint()
    2. Spark
      RDD$$anonfun$doCheckpoint$1.apply
      1. org.apache.spark.rdd.ReliableRDDCheckpointData.doCheckpoint(ReliableRDDCheckpointData.scala:73)
      2. org.apache.spark.rdd.RDDCheckpointData.checkpoint(RDDCheckpointData.scala:74)
      3. org.apache.spark.rdd.RDD$$anonfun$doCheckpoint$1.apply$mcV$sp(RDD.scala:1655)
      4. org.apache.spark.rdd.RDD$$anonfun$doCheckpoint$1.apply(RDD.scala:1652)
      4 frames