java.lang.UnsupportedOperationException: empty collection

GitHub | car2008 | 7 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

    GitHub comment 1121#241643536

    GitHub | 7 months ago | car2008
    java.lang.UnsupportedOperationException: empty collection
  2. 0

    Lỗi khi chạy tagging

    GitHub | 8 months ago | manhtuhtk
    java.lang.UnsupportedOperationException: empty collection
  3. 0

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

    nabble.com | 5 months ago
    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:1344)
      2. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:150)
      3. org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:111)
      4. org.apache.spark.rdd.RDD.withScope(RDD.scala:316)
      5. org.apache.spark.rdd.RDD.first(RDD.scala:1341)
      5 frames
    3. com.neilferguson
      PopStrat.main
      1. com.neilferguson.PopStrat$.main(PopStrat.scala:110)
      2. com.neilferguson.PopStrat.main(PopStrat.scala)
      2 frames
    4. 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
    5. Spark
      SparkSubmit.main
      1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:731)
      2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)
      3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)
      4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121)
      5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
      5 frames