flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-5903) taskmanager.numberOfTaskSlots and yarn.containers.vcores did not work well in YARN mode
Date Thu, 30 Mar 2017 02:10:41 GMT

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

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

Github user WangTaoTheTonic commented on the issue:

    https://github.com/apache/flink/pull/3408
  
    @tillrohrmann 
    After changing code the test results(both session and single mode) is like:
    
    | Configurations                           | #vcores of container(TM) | #slots of TM |
    | ---------------------------------------- | ------------------------ | ------------ |
    | -s/-ys 5,  yarn.containers.vcores: 4,  taskmanager.numberOfTaskSlots: 3 | 4        
               | 5            |
    | yarn.containers.vcores: 4,  taskmanager.numberOfTaskSlots: 3 | 4                   
    | 3            |
    | yarn.containers.vcores: 4                | 4                        | 1            |
    | -s/-ys 5,  taskmanager.numberOfTaskSlots: 3 | 5                        | 5         
  |
    | taskmanager.numberOfTaskSlots: 3         | 3                        | 3            |
    | Nothing to specify, all use default      | 1                        | 1            |
    
    Please check :)


> 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: Sub-task
>          Components: YARN
>            Reporter: Tao Wang
>            Assignee: 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)

Mime
View raw message