flink集群模式下如何动态添加taskmanager

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

flink集群模式下如何动态添加taskmanager

如影随形
各位大神:


     在flink集群部署时,有1个jobmanager,有2个taskmanager(slave1,slave2),
现在想添加slave3作为 taskmnanager。如何在不停止集群的情况下,可以像spark一样动态添加吗?
步骤是怎么样的?


------------------
陈浩
Reply | Threaded
Open this post in threaded view
|

回复: flink集群模式下如何动态添加taskmanager

pengchenglin@bonc.com.cn
把安装的flink复制到slave3,在执行bin/taskmanager.sh start应该可以的



[hidden email]
 
发件人: 如影随形
发送时间: 2019-09-04 10:27
收件人: user-zh
主题: flink集群模式下如何动态添加taskmanager
各位大神:
 
 
     在flink集群部署时,有1个jobmanager,有2个taskmanager(slave1,slave2),
现在想添加slave3作为 taskmnanager。如何在不停止集群的情况下,可以像spark一样动态添加吗?
步骤是怎么样的?
 
 
------------------
陈浩
Reply | Threaded
Open this post in threaded view
|

Re: flink集群模式下如何动态添加taskmanager

Wesley Peng-2
In reply to this post by 如影随形
Hi

on 2019/9/4 10:27, 如影随形 wrote:
>       在flink集群部署时,有1个jobmanager,有2个taskmanager(slave1,slave2),
> 现在想添加slave3作为 taskmnanager。如何在不停止集群的情况下,可以像spark一样动态添加吗?

AFAIK the answer is NO for now. However, community tells that this has
been under consideration from the FLIP-6 Flink Development and Process
Model.

https://docs.google.com/document/d/1zwBP3LKnJ0LI1R4-9hLXBVjOXAkQS5jKrGYYoPz-xRk/edit#