Hi all,
Recently I am reading source code of Flink. There are both JobManager and JobMaster in flink-runtime project. And JobManagerRunner interface says it is a runner which executes a JobMaster. So how to distinguish the two concepts? Is JobMaster a subset of JobManager?
Or JobMaster is a new version which is going to replace the function of JobManager? Or the two roles are different?
Thank you!
Weizheng
|
Hi Wizheng
FLIP-6 [1] introduce a new implementation of master component in Flink cluster with name of `JobMaster.java`[2], you can find previous implementation in Flink-1.7 as `JobManager.scala` [3]. However, we would still call the master component as 'JobManager' though
its implementation name has been changed.
If you want to know more details, please read FLIP-6 and its JIRA issue FLINK-4319 [4].
Best
Yun Tang
From: Lu Weizheng <[hidden email]>
Sent: Friday, January 31, 2020 10:25 To: [hidden email] <[hidden email]> Subject: Difference between JobManager and JobMaster
Hi all,
Recently I am reading source code of Flink. There are both JobManager and JobMaster in flink-runtime project. And JobManagerRunner interface says it is a runner which executes a JobMaster. So how to distinguish the two concepts? Is JobMaster a subset of JobManager?
Or JobMaster is a new version which is going to replace the function of JobManager? Or the two roles are different?
Thank you!
Weizheng
|
Hi Yun, thank you so much for your reply!
I have briefly read all links in your reply. So the JobManager.scala was removed and JobMaster was added and functions what JobManager did before?
Best Regards
Weizheng
发件人: Yun Tang <[hidden email]>
发送时间: 2020年1月31日 15:20 收件人: Lu Weizheng <[hidden email]>; [hidden email] <[hidden email]> 主题: Re: Difference between JobManager and JobMaster
Hi Wizheng
FLIP-6 [1] introduce a new implementation of master component in Flink cluster with name of `JobMaster.java`[2], you can find previous implementation in Flink-1.7 as `JobManager.scala` [3]. However, we would still call the master component as 'JobManager' though
its implementation name has been changed.
If you want to know more details, please read FLIP-6 and its JIRA issue FLINK-4319 [4].
Best
Yun Tang
From: Lu Weizheng <[hidden email]>
Sent: Friday, January 31, 2020 10:25 To: [hidden email] <[hidden email]> Subject: Difference between JobManager and JobMaster
Hi all,
Recently I am reading source code of Flink. There are both JobManager and JobMaster in flink-runtime project. And JobManagerRunner interface says it is a runner which executes a JobMaster. So how to distinguish the two concepts? Is JobMaster a subset of JobManager?
Or JobMaster is a new version which is going to replace the function of JobManager? Or the two roles are different?
Thank you!
Weizheng
|
They are similar but not quite the
same. The JobManager was responsible for managing multiple jobs,
whereas the JobMaster only manages a single job. The
responsibility for managing multiple jobs (==JobMasters) and
accepting job submissions was moved into the Dispatcher.
On 31/01/2020 09:39, Lu Weizheng wrote:
|
Free forum by Nabble | Edit this page |