java.lang.UnsupportedOperationException

empty collection

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web6

  • via Stack Overflow by Daniel Imberman
    ,
  • via GitHub by hectcastro
    ,
  • Stack trace

    • java.lang.UnsupportedOperationException: empty collection at org.apache.spark.rdd.RDD$$anonfun$reduce$1$$anonfun$apply$36.apply(RDD.scala:1009) at org.apache.spark.rdd.RDD$$anonfun$reduce$1$$anonfun$apply$36.apply(RDD.scala:1009) at scala.Option.getOrElse(Option.scala:121) at org.apache.spark.rdd.RDD$$anonfun$reduce$1.apply(RDD.scala:1009) 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.reduce(RDD.scala:989) at io.zipkin.dependencies.spark.cassandra.ZipkinDependenciesJob$.run(ZipkinDependenciesJob.scala:110) at io.zipkin.dependencies.spark.cassandra.ZipkinDependenciesJob$.main(ZipkinDependenciesJob.scala:71) at io.zipkin.dependencies.spark.cassandra.ZipkinDependenciesJob.main(ZipkinDependenciesJob.scala)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    rprp
    2 times, last one