java.lang.UnsupportedOperationException: empty collection

nabble.com | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Apache Spark User List - ALS.train() throws java.lang.UnsupportedOperationException

    nabble.com | 4 months ago
    java.lang.UnsupportedOperationException: empty collection
  2. 0

    GitHub comment 1121#241643536

    GitHub | 6 months ago | car2008
    java.lang.UnsupportedOperationException: empty collection
  3. 0

    Lỗi khi chạy tagging

    GitHub | 7 months ago | manhtuhtk
    java.lang.UnsupportedOperationException: empty collection
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      empty collection

      at org.apache.spark.rdd.RDD$$anonfun$first$1.apply()
    2. Spark
      RDD.first
      1. org.apache.spark.rdd.RDD$$anonfun$first$1.apply(RDD.scala:1318)
      2. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:147)
      3. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:108)
      4. org.apache.spark.rdd.RDD.withScope(RDD.scala:310)
      5. org.apache.spark.rdd.RDD.first(RDD.scala:1315)
      5 frames
    3. Spark Project ML Library
      ALS$.train
      1. org.apache.spark.mllib.recommendation.MatrixFactorizationModel.validateFeatures(MatrixFactorizationModel.scala:67)
      2. org.apache.spark.mllib.recommendation.MatrixFactorizationModel.<init>(MatrixFactorizationModel.scala:62)
      3. org.apache.spark.mllib.recommendation.ALS.run(ALS.scala:266)
      4. org.apache.spark.mllib.recommendation.ALS$.train(ALS.scala:328)
      5. org.apache.spark.mllib.recommendation.ALS$.train(ALS.scala:346)
      5 frames