Recently I have started a cluster of flink with Docker-compose.Here is my file:
version: "2.1"
services:
jobmanager:
image: flink:1.9.2-scala_2.11
expose:
- "6123"
ports:
- "8081:8081"
command: jobmanager
environment:
- JOB_MANAGER_RPC_ADDRESS=jobmanager
taskmanager:
image: flink:1.9.2-scala_2.11
expose:
- "6121"
- "6122"
depends_on:
- jobmanager
command: taskmanager
links:
- "jobmanager:jobmanager"
environment:
- JOB_MANAGER_RPC_ADDRESS=jobmanager
I started it with "docker-compose up -d --scale taskmanager=3" to assign 3 taskmanagers. I have passed the WordCount Demo and when I input some words in the bash there is no error occurs.
However, I just cannot see the logs and stdout from the WebUI
