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

ASF GitHub Bot commented on FLINK-5903:
---------------------------------------

GitHub user WangTaoTheTonic opened a pull request:

    https://github.com/apache/flink/pull/3408

    [FLINK-5903][YARN]respect taskmanager.numberOfTaskSlots and 
yarn.containers.vcores in YARN mode

    Make sure taskmanager.numberOfTaskSlots and yarn.containers.vcores works in 
YARN mode. The priorities is: -s/-ys > yarn.containers.vcores > 
taskmanager.numberOfTaskSlots.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/WangTaoTheTonic/flink FLINK-5903

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3408.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3408
    
----
commit 3515f9faf4b40bff7310a55b7094b52999525cbb
Author: WangTaoTheTonic <[email protected]>
Date:   2017-02-24T08:11:47Z

    xxx

----


> taskmanager.numberOfTaskSlots and yarn.containers.vcores did not work well in 
> YARN mode
> ---------------------------------------------------------------------------------------
>
>                 Key: FLINK-5903
>                 URL: https://issues.apache.org/jira/browse/FLINK-5903
>             Project: Flink
>          Issue Type: Bug
>          Components: YARN
>            Reporter: Tao Wang
>         Attachments: set taskmanager.numberOfTaskSlots to 6.JPG, set 
> yarn.container.vcores to 5_JM.JPG, set yarn.container.vcores to 5_RM.JPG
>
>
> Now Flink did not respect taskmanager.numberOfTaskSlots and 
> yarn.containers.vcores in flink-conf.yaml, but only -s parameter in CLI.
> Details is that taskmanager.numberOfTaskSlots is not working in anyway 
> andyarn.containers.vcores is only used in requesting container(TM) resources 
> but not aware to TM, which means TM will always think it has default(1) Slots 
> if -s is not configured.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to