Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Runnig Oozie Spark action with JDK 8

Runnig Oozie Spark action with JDK 8

New Contributor



I'm running CDH 5.6 installed with JDK 7 and I also installed JDK 8 on all the cluster machies.


I have Java 8 Spark code I am sucessfully running on the cluster using spark-submit (I add to the JAVA_HOME configuration, SPARK_YARN_USER_ENV="JAVA_HOME=/jdk1.8.0_77")


but when I'm trying to run it from oozie spark action the configuration been ignored I'm getting th efollowing error:


Exception in thread "main" java.lang.UnsupportedClassVersionError: com/somecompany/someproject/Main : Unsupported major.minor version 52.0