osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flink Docker 1.5.x local mode


Hi Thomas,

I watched the code of docker flink v1.5[1], it just starts job manager
component when you run with local mode.

More information you can refer:
Flink official documentation of docker deployment :
https://ci.apache.org/projects/flink/flink-docs-release-1.5/ops/deployment/docker.html
(out of date);
Docker documentation of flink :
https://docs.docker.com/samples/library/flink/

[1]:
https://github.com/docker-flink/docker-flink/blob/27cd2b49486a31fa449d8551be58e23c576bf44c/1.5/scala_2.11-debian/docker-entrypoint.sh#L56

Thanks, vino.


2018-07-23 5:58 GMT+08:00 Thomas Weise <thw@xxxxxxxxxx>:

> I tried to run the 1.5.0 and 1.5.1 docker containers with local mode,
> following the instructions at
> https://docs.docker.com/samples/library/flink/#run-a-flink-local-cluster
>
> docker run --name flink_local -p 8081:8081 -t flink local
>
>
> Starts the cluster, but it does not start a task manager. That's a change
> from 1.4.2, where a TM will be started and also listed in the web UI.
> Subsequent job submission will fail since no slots can be allocated. Is
> this a bug or is the documentation not up to date?
>
> Thanks,
> Thomas
>