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

Shimin Yang commented on FLINK-10533:
-------------------------------------

Flink uses Slot Sharing Group to optimize the Resource Usage and allow subtasks 
in same job to share the slot. It's based on task but not job graph. If you 
want to use four slots you can set parallelism to 4. Please refer to 
[https://ci.apache.org/projects/flink/flink-docs-stable/concepts/runtime.html#task-slots-and-resources]
 for more info. If you think this might solve your confusion, I will close this 
issue.

> job parallelism equals task slots number but not use the same number of the 
> task slots as the parallelism
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-10533
>                 URL: https://issues.apache.org/jira/browse/FLINK-10533
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 1.5.3, 1.6.0, 1.6.1
>            Reporter: sean.miao
>            Priority: Major
>         Attachments: image-2018-10-12-10-35-57-443.png, 
> image-2018-10-12-10-36-13-503.png
>
>
> i use the table api and do not use the datastream api。
>  
> my job has two graph and every parallelism is two.so the total parallelism is 
> four;
> but if give my job four slots but it just use two slots.
>  
> !image-2018-10-12-10-36-13-503.png!
> !image-2018-10-12-10-35-57-443.png!
>  
> thanks.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to