[
https://issues.apache.org/jira/browse/FLINK-5071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15683135#comment-15683135
]
Gyula Fora commented on FLINK-5071:
-----------------------------------
Both actually.
The problem is here:
https://github.com/apache/flink/blob/master/flink-yarn/src/main/java/org/apache/flink/yarn/AbstractYarnClusterDescriptor.java#L308
which only compares the allowed number of vcores (in yarn config) with the
number of slots, assuming that requested vcores == numslots
> YARN: yarn.containers.vcores config not respected when checking for vcores
> --------------------------------------------------------------------------
>
> Key: FLINK-5071
> URL: https://issues.apache.org/jira/browse/FLINK-5071
> Project: Flink
> Issue Type: Bug
> Components: YARN Client
> Reporter: Gyula Fora
> Fix For: 1.1.3
>
>
> The YarnClient validates whether the number of task slots is less then the
> max vcores settings of yarn but seems to ignore the yarn.containers.vcores
> flink config which should be used instead of the slots.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)