Re: Flink Application Jar file on Docker container
Posted by
Stefan Richter on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Flink-Application-Jar-file-on-Docker-container-tp15830p15849.html
Hi,
if I correctly understood the approach outlined on github, you can start a standalone job manager and the task manager get the JM information either through the provided configuration or through Zookeeper. Take a look at the „running section“, e.g.:
1) „Via Mesos/Marathon: Start a standalone JobManager (you need to replace the flink_recovery_zookeeper_quorum variable with a valid setting for your cluster) [...]“
2) „Via standalone Docker: Start a standalone JobManager (with host networking, binding on 127.0.0.1) […]“
Best,
Stefan
Hi Stefan,
Thanks a lot for your answer and sharing the link
https://github.com/mesoshq/flink. I went through this and saw its spawning Jobmanager and taskmanager. Now I think, this should be happening. First JobManager will be started on flink cluster on one node, then task manager will be started on another node and both should be running in docker containers on different nodes. Now, my question is how flink's JobManager will get to know about the taskManagers as they are in in different docker containers on different nodes? Will it happen via Mesos?
Can we use mesos-appmaster.sh instead which is already built in flink for deployment on mesos?
Rahul Raj