If flink(1.17.0) is build with java 11 (compile ti...
# random
s
If flink(1.17.0) is build with java 11 (compile time) , is it possible to use java 8 as runtime for jobs ?
tried testing it , looks like job fails if runtime is java 8
g
FWIW, the 1.17 container images on Docker Hub are available for Java 8 and Java 11. The Dockerfile shows how to build the image, so if containers aren't your thing you should be able to download the Java 8 binaries the same way that the Dockerfile does. It appears the Java8 bits come from here: https://www.apache.org/dyn/closer.cgi?action=download&filename=flink/flink-1.17.0/flink-1.17.0-bin-scala_2.12.tgz
gratitude thank you 1
s
Thank you @Gil Kirkpatrick. Actually , our use case is there will be a long running flink on yarn cluster different stakeholders can submit their jobs on the session mode/ per job mode or application mode based on their requirement, these jobs are jars can be compiled with any java version based on their judgement. we need to decide on default runtime (either java 8 and java 11) which will be better option and suffers as minimum error in runtime .
a
Java 8 was released March 2014. 😫