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.
---
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.
---