hadoop - About flink application request numbers of slot when startup and runtime are difference question? - Stack Overflow

I found that when flink application start,the number of slots request is SUM(Maximum parallelism of eac

I found that when flink application start,the number of slots request is SUM(Maximum parallelism of each task), but when the application is running, the number of slots request is JobManager(1) + Maximum parallelism of all task.

For example if there are three tasks, the parallelism of task1(source/map) is 2, the parallelism of task2(keyby/window/apply) is 2, the parallelism of task3(sink) is 1. The number of slots request is 5 when application is starting, the number of slots request is 3 when application is running.

That means the number of slots required when startup bigger than the Number of slots required for application running. This design, the hardware resources will be wasted.

My question is that:

  1. why flink design this mechanism for slots?
  2. Does the new flink version improve this mechanism?
  3. How could we save hardware for the current version.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742313222a4420320.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信