ambari-flink-service
ambari-flink-service copied to clipboard
Flink service not picking up JAVA_HOME
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
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