You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Darshan Pandya <da...@gmail.com> on 2017/08/17 23:15:33 UTC
Spark Yarn mode - unsupported exception
Hello Users,
I am running into a spark issue "Unsupported major.minor version 52.0"
The code I am trying to run is
https://github.com/cpitman/spark-drools-example/
This code runs fine in spark local mode but fails horribly with the above
exception when you submit the job in the yarn mode.
spark-submit --class com.awesome.App --master yarn
./SparkDroolsExample-1.0-SNAPSHOT.jar
This happens on cloudera VM and a couple of real clusters as well.
I already tried to match and compile with the right JDKs etc.
I also tried switching the serializers for spark. No luck.
*Env Details *
Using Java JDK and JRE 1.8
Using Spark 1.6.0
Using Spark 2.1.0
Please let me know if I am totally missing something.
--
Sincerely,
Darshan