[
https://issues.apache.org/jira/browse/FLINK-4998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629345#comment-15629345
]
Maximilian Michels commented on FLINK-4998:
-------------------------------------------
This is related to FLINK-2213.
> ResourceManager fails when num task slots > Yarn vcores
> -------------------------------------------------------
>
> Key: FLINK-4998
> URL: https://issues.apache.org/jira/browse/FLINK-4998
> Project: Flink
> Issue Type: Bug
> Components: ResourceManager, YARN Client
> Affects Versions: 1.2.0, 1.1.3
> Reporter: Maximilian Michels
> Assignee: Maximilian Michels
> Fix For: 1.2.0
>
>
> The ResourceManager fails to acquire containers when the users configures the
> number of task slots to be greater than the maximum number of virtual cores
> of the Yarn cluster.
> We should check during deployment that the task slots are not configured to
> be larger than the virtual cores.
> {noformat}
> 2016-11-02 14:39:01,948 ERROR org.apache.flink.yarn.YarnFlinkResourceManager
> - FATAL ERROR IN YARN APPLICATION MASTER: Connection to YARN
> Resource Manager failed
> org.apache.hadoop.yarn.exceptions.InvalidResourceRequestException: Invalid
> resource request, requested virtual cores < 0, or requested virtual cores >
> max configured, requestedVirtualCores=3, maxVirtualCores=1
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)