spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kanwaldeep <>
Subject Re: ClassCastException when using saveAsTextFile
Date Thu, 05 Jun 2014 05:53:55 GMT
Hi Niko

I'm having a similar problem with running the Sparks on standalone cluster.
Any suggestions on how to fix this? The error is happening on using
pairRDDFunction saveAsHadoopDataSet.

java.lang.ClassCastException (java.lang.ClassCastException: cannot assign
instance of org.apache.spark.rdd.PairRDDFunctions$$anonfun$combineByKey$1 to
field org.apache.spark.rdd.RDD$$anonfun$3.f$7 of type scala.Function2 in
instance of org.apache.spark.rdd.RDD$$anonfun$3)


View this message in context:
Sent from the Apache Spark User List mailing list archive at

View raw message