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

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

Github user kl0u commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1588#discussion_r52106077
  
    --- Diff: docs/setup/config.md ---
    @@ -211,6 +211,8 @@ The parameters define the behavior of tasks that create 
result files.
        
        yarn.application-master.env.LD_LIBRARY_PATH: "/usr/lib/native"
     
    +- `yarn.containers.vcores` The number of virtual cores (vcores) per YARN 
container. By default the number of `vcores` is set equal to the maximum 
between the number of slots per TaskManager, and the number of cores available 
to the Java runtime. 
    --- End diff --
    
    This was to have a fallback strategy in case the slots parameter is not 
set. But @StephanEwen 's comment probably solves it. The fallback will be set 
to the previous strategy where vcores=1.


> Configure number of vcores
> --------------------------
>
>                 Key: FLINK-2213
>                 URL: https://issues.apache.org/jira/browse/FLINK-2213
>             Project: Flink
>          Issue Type: Improvement
>          Components: YARN Client
>    Affects Versions: 0.10.0
>            Reporter: Ufuk Celebi
>            Assignee: Kostas
>             Fix For: 1.0.0
>
>
> Currently, the number of vcores per YARN container is set to 1.
> It is desirable to allow configuring this value. As a simple heuristic it 
> makes sense to at least set it to the number of slots per container.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to