admin管理员组文章数量:1332873
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:
- why flink design this mechanism for slots?
- Does the new flink version improve this mechanism?
- How could we save hardware for the current version.
本文标签:
版权声明:本文标题:hadoop - About flink application request numbers of slot when startup and runtime are difference question? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742313222a2451298.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论