Hi, In my application, I got a weird error message: java.lang.NoClassDefFoundError: Could not initialize class XXXXX
This happens only when I try to submit my application in cluster mode. It works perfectly in client mode. I'm able to reproduce this error message by a simple 16-line program: https://github.com/zasdfgbnm/spark-test1/blob/master/src/main/scala/test.scala To reproduce it, simply clone this git repo, and then execute command like: sbt package && spark-submit --master spark://localhost:7077 target/scala-2.11/createdataset_2.11-0.0.1-SNAPSHOT.jar Can anyone check whether this is a bug of spark? -- View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/java-lang-NoClassDefFoundError-is-this-a-bug-tp18972.html Sent from the Apache Spark Developers List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe e-mail: dev-unsubscr...@spark.apache.org