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

    https://github.com/apache/flink/pull/3408#discussion_r104861770
  
    --- Diff: 
flink-yarn/src/main/java/org/apache/flink/yarn/cli/FlinkYarnSessionCli.java ---
    @@ -317,6 +319,10 @@ public AbstractYarnClusterDescriptor 
createDescriptor(String defaultApplicationN
                if (cmd.hasOption(SLOTS.getOpt())) {
                        int slots = 
Integer.valueOf(cmd.getOptionValue(SLOTS.getOpt()));
                        yarnClusterDescriptor.setTaskManagerSlots(slots);
    +           } else if (config.containsKey(ConfigConstants.YARN_VCORES)) {
    --- End diff --
    
    No YARN_VCORES is not deprecated. But I'm not sure whether we should use 
this value as a default value for the number of task manager slots.


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