Hi Jack,

I'm supposing you are actually referring to JobMaster by the term JobManager in 
your context (the JobManager referred in the doc is usually a collection of 
components that comprises the Dispatcher, ResourceManager, and a set of 
one-per-job JobMasters).

The jobmaster's lifecycle is bound to the job's lifecycle, so yes, after the 
job is finished, its jobmaster will be shutdown. Taskmanagers, on the other 
hand, are shared among jobs.

Hope that helps.

Best,
Zhanghao Chen
________________________________
From: Ww J <junww2...@gmail.com>
Sent: Monday, May 2, 2022 14:15
To: user <user@flink.apache.org>
Subject: About job execution

Hello,

I read some articles on internet about job execution of Flink and have some 
questions. When the dispatcher receives a job, the dispatcher will start a 
JobManager. After the job is finished, will the JobManager be shut down? For 
the TaskManager, after the job is finished, will the TaskManager be shut down? 
Or is the TaskManager shared among all the tasks?

Thanks.

Jack


Reply via email to