Hi vino, Thanks for your suggestion. I believe it’s working. But I still get this exception in jobmanager.err:
> java.lang.UnsupportedClassVersionError: > org/apache/flink/yarn/entrypoint/YarnSessionClusterEntrypoint : Unsupported > major.minor version 52.0 I tried setting Java home for the jobmanager too, but it doesn’t help. Do you have any idea on this? Thanks a lot! Best, Paul Lam > 在 2018年8月29日,16:08,vino yang <yanghua1...@gmail.com> 写道: > > Hi Paul, > > You can try: -yD yarn.taskmanager.env.JAVA_HOME=xx in the command line. > > Thanks, vino. > > Paul Lam <paullin3...@gmail.com <mailto:paullin3...@gmail.com>> 于2018年8月29日周三 > 下午3:27写道: > Hi, > > I’m trying to run Flink on a YARN cluster that’s running on JDK 7, and I > think it’s a quite common scenario, but it seems that currently there’s no > way to pass the JAVA_HOME environment variable to YARN. > > Am I missing something? And should I create an issue requesting for that? > > Best, > Paul Lam