Hi All!

I have been trying to experiment with the Flink python support on
Kubernetes but I got stuck creating a custom image with all the necessary
python libraries.

I found this guide in the docs:
https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/deployment/resource-providers/standalone/docker/#using-flink-python-on-docker

However when I try to build a custom image using it, I get the following
error:

#7 131.7 Collecting pemja==0.1.4
#7 131.8   Downloading pemja-0.1.4.tar.gz (32 kB)
#7 131.9     ERROR: Command errored out with exit status 255:
#7 131.9      command: /usr/local/bin/python3.7 -c 'import sys, setuptools,
tokenize; sys.argv[0] = '"'"'/tmp/pip-install-y6o6djs1/pemja/setup.py'"'"';
__file__='"'"'/tmp/pip-install-y6o6djs1/pemja/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
egg_info --egg-base /tmp/pip-pip-egg-info-47iid6nm
#7 131.9          cwd: /tmp/pip-install-y6o6djs1/pemja/
#7 131.9     Complete output (1 lines):
#7 131.9     Include folder should be at '/usr/local/openjdk-11/include'
but doesn't exist. Please check you've installed the JDK properly.

Has anyone seen this before and knows the solution?

Thanks
Gyula

Reply via email to