flink-user-zh mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huangrunxingxing <huangrunxingx...@163.com>
Subject 关于jdk版本
Date Thu, 24 Oct 2019 06:15:30 GMT
你好,
我这边用的是flink1.8.2
由于机器环境上的jdk是1.7的,所以我在flink-conf.yaml中指定了jdk


env.java.home: /opt/jdk1.8.0_31




通过./bin/yarn-session.sh -n 10 -tm 8192 -s 12
启动之后报错


Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/flink/yarn/entrypoint/YarnSessionClusterEntrypoint
: 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 sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
| |
huangrunxingxing
|
|
huangrunxingxing@163.com
|
签名由网易邮箱大师定制
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message