flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From WangTaoTheTonic <...@git.apache.org>
Subject [GitHub] flink pull request #3408: [FLINK-5903][YARN]respect taskmanager.numberOfTask...
Date Wed, 08 Mar 2017 06:53:43 GMT
Github user WangTaoTheTonic commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3408#discussion_r104855322
  
    --- 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 --
    
    And in document, there still has introduction of YARN_VCORES.
    
    ```
    yarn.containers.vcores The number of virtual cores (vcores) per YARN container. By default,
the 
    number of vcores is set to the number of slots per TaskManager, if set, or to 1, otherwise.
    ```


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message