java.lang.UnsupportedOperationException

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.

  • GitHub comment 1121#241643536
    via GitHub by car2008
    ,
  • Lỗi khi chạy tagging
    via GitHub by manhtuhtk
    ,
    • java.lang.UnsupportedOperationException: empty collection at org.apache.spark.rdd.RDD$$anonfun$first$1.apply(RDD.scala:1318) at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:147) at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:108) at org.apache.spark.rdd.RDD.withScope(RDD.scala:310) at org.apache.spark.rdd.RDD.first(RDD.scala:1315) at org.apache.spark.mllib.recommendation.MatrixFactorizationModel.validateFeatures(MatrixFactorizationModel.scala:67) at org.apache.spark.mllib.recommendation.MatrixFactorizationModel.<init>(MatrixFactorizationModel.scala:62) at org.apache.spark.mllib.recommendation.ALS.run(ALS.scala:266) at org.apache.spark.mllib.recommendation.ALS$.train(ALS.scala:328) at org.apache.spark.mllib.recommendation.ALS$.train(ALS.scala:346)
    No Bugmate found.