Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by tokomakoma123
, 1 year ago
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)
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(Iterator.scala:434)	at scala.collection.Iterator$$anon$12.hasNext(Iterator.scala:440)	at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:408)