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:

To reproduce it, simply clone this git repo, and then execute command like:
sbt package && spark-submit --master spark://localhost:7077

Can anyone check whether this is a bug of spark?

View this message in context: 
Sent from the Apache Spark Developers List mailing list archive at Nabble.com.

To unsubscribe e-mail: dev-unsubscr...@spark.apache.org

Reply via email to