[ 
https://issues.apache.org/jira/browse/FLINK-12362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018173#comment-17018173
 ] 

Till Rohrmann commented on FLINK-12362:
---------------------------------------

At the moment there is no way to configure a fixed number of containers. Flink 
will try to allocate as many containers as there are necessary to run the 
submitted job. If you define for every operator a different slot sharing group, 
then you would need to know how many operators there are in your job to 
calculate the total number of required slots.

> Remove legacy container number config option for Flink on yarn
> --------------------------------------------------------------
>
>                 Key: FLINK-12362
>                 URL: https://issues.apache.org/jira/browse/FLINK-12362
>             Project: Flink
>          Issue Type: Improvement
>          Components: Deployment / YARN
>            Reporter: vinoyang
>            Assignee: vinoyang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.10.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The {{-n}} config option for Flink on YARN has been deprecated and removed 
> from documentation. However, there are still some legacy code exists in the 
> codebase. We need to clean up them.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to