ambari-flink-service icon indicating copy to clipboard operation
ambari-flink-service copied to clipboard

Flink service not picking up JAVA_HOME

Open krispyjala opened this issue 8 years ago • 1 comments

Not sure if this is my own problem with my Ambari server settings etc, but when I was starting the Flink service, it failed to start because it couldn't find JAVA_HOME. I had to manually go into /opt/flink/bin/config.sh and override it there. Setting env.java.home in /opt/flink/conf/flink-conf.yaml had no effect. I am running with the latest release Flink binary http://archive.apache.org/dist/flink/flink-1.1.4/flink-1.1.4-bin-hadoop27-scala_2.11.tgz

krispyjala avatar Jan 11 '17 01:01 krispyjala

I've had the same issue. I added it manually to Advanced Flink Env. I didn't include it in the release because it is a specific environment variable. env.java.home: /usr/jdk64/jdk1.8.0_77/jre

jamesbenharris avatar Jan 28 '17 03:01 jamesbenharris