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

    https://github.com/apache/flink/pull/1588#discussion_r52101633
  
    --- 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 --
    
    what's the rationale for using the max(slots, #cpus) ?
    I think in most cases users use fewer slots than CPU cores available on the 
physical machine.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to