In the end it turns out that the issue was caused by a config settings
in spark-defaults.conf. After removing this setting
spark.files.userClassPathFirst true
things are back to normal. Just reporting in case f someone will have
the same issue.
- Gurvinder
On 07/03/2014 06:49 PM, Gurvinder Sin
Just to provide more information on this issue. It seems that SPARK_HOME
environment variable is causing the issue. If I unset the variable in
spark-class script and run in the local mode my code runs fine without
the exception. But if I run with SPARK_HOME, I get the exception
mentioned below. I c
Hi,
I am having issue in running scala example code. I have tested and able
to run successfully python example code, but when I run the scala code I
get this error
java.lang.ClassCastException: cannot assign instance of
org.apache.spark.examples.SparkPi$$anonfun$1 to field
org.apache.spark.rdd.Ma