Hydrospheredata / mist

Serverless proxy for Spark cluster
http://hydrosphere.io/mist/
Apache License 2.0
326 stars 68 forks source link

Mist : Unsupported major.minor version 52.0 #553

Closed deveshkataria closed 4 years ago

deveshkataria commented 4 years ago

I started mist, but I am getting following error

[cloudera@quickstart mist-1.1.2]$ SPARK_HOME=$SPARK_HOME bin/mist-master start --debug true 20-01-17 09:16:17 [main] INFO ydrosphere.mist.master.Master$:13 Starting mist... 20-01-17 09:16:17 [main] ERROR ydrosphere.mist.master.Master$:31 Unexpected error: com/typesafe/config/ConfigMergeable : Unsupported major.minor version 52.0 java.lang.UnsupportedClassVersionError: com/typesafe/config/ConfigMergeable : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at io.hydrosphere.mist.master.Master$.delayedEndpoint$io$hydrosphere$mist$master$Master$1(Master.scala:18) at io.hydrosphere.mist.master.Master$delayedInit$body.apply(Master.scala:10) at scala.Function0$class.apply$mcV$sp(Function0.scala:34) at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12) at scala.App$$anonfun$main$1.apply(App.scala:76) at scala.App$$anonfun$main$1.apply(App.scala:76) at scala.collection.immutable.List.foreach(List.scala:392) at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35) at scala.App$class.main(App.scala:76) at io.hydrosphere.mist.master.Master$.main(Master.scala:10) at io.hydrosphere.mist.master.Master.main(Master.scala)

blvp commented 4 years ago

Hi there. Could you please send here your Java version?

daffydee13 commented 4 years ago

Hello blvp, thanks for quick response, I have discovered java version 1.8 is required. Mine was 1.7

dos65 commented 4 years ago

OK, this problem seems to be resolved.