java.lang.ClassCastException: clojure.lang.LazySeq cannot be cast to java.util.Iterator at flambo.function.FlatMapFunction.call(Unknown Source) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:124) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:124)

GitHub | tokomakoma123 | 9 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

    0.8.0-SNAPSHOT failed with java.lang.ClassCastException: clojure.lang.LazySeq

    GitHub | 9 months ago | tokomakoma123
    java.lang.ClassCastException: clojure.lang.LazySeq cannot be cast to java.util.Iterator at flambo.function.FlatMapFunction.call(Unknown Source) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:124) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:124)

    Root Cause Analysis

    1. java.lang.ClassCastException

      clojure.lang.LazySeq cannot be cast to java.util.Iterator at flambo.function.FlatMapFunction.call(Unknown Source) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:124) at org.apache.spark.api.java.JavaRDDLike$$anonfun$fn$1$1.apply(JavaRDDLike.scala:124)

      at scala.collection.Iterator$$anon$12.nextCur()
    2. Scala
      Iterator$$anon$11.hasNext
      1. scala.collection.Iterator$$anon$12.nextCur(Iterator.scala:434)
      2. scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:440)
      3. scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:408)
      3 frames