You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ufuk Celebi (JIRA)" <ji...@apache.org> on 2018/09/11 09:45:00 UTC
[jira] [Created] (FLINK-10318) Add option to build Hadoop-free job
image to build.sh
Ufuk Celebi created FLINK-10318:
-----------------------------------
Summary: Add option to build Hadoop-free job image to build.sh
Key: FLINK-10318
URL: https://issues.apache.org/jira/browse/FLINK-10318
Project: Flink
Issue Type: Improvement
Components: Docker
Affects Versions: 1.6.0
Reporter: Ufuk Celebi
When building a Job-specific image from a release via {{flink-container/docker/build.sh}}, we require to specify a Hadoop version:
{code}
./build.sh
--job-jar flink-job.jar
--from-release
--flink-version 1.6.0
--hadoop-version 2.8 # <- currently required
--scala-version 2.11
--image-name flink-job
{code}
I think for many users a Hadoop-free build is a good default. We should consider supporting this out of the box with the {{build.sh}} script.
The current work around would be to manually download the Hadoop-free release and build with the {{--from-archive}} flag.
Another alternative would be to drop the {{from-release}} option and document how to build from an archive with links to the downloads.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)