简体   繁体   中英

Flink: How to configure Flink such that the Taskmanagers auto restart after a failure?

如何配置 Flink 使任务管理器在失败后自动重启?

On yarn and kubernetes Flink has a native resource manager ( YarnResourceManager and KubernetesResourceManager ) that will arrange for the requested number of slots to be available. In other environments you'll need to use cluster-framework-specific mechanisms to take care of this yourself.

Note that for k8s, only session clusters are supported by this new, more active mode implemented by KubernetesResourceManager . Job clusters still need to be managed in the old fashioned way, as described in the docs .

And then there are managed Flink environments where these details are taken care of for you -- eg, Ververica Platform or Kinesis Data Analytics.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM