[ 
https://issues.apache.org/jira/browse/FLINK-4998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15629366#comment-15629366
 ] 

ASF GitHub Bot commented on FLINK-4998:
---------------------------------------

GitHub user mxm opened a pull request:

    https://github.com/apache/flink/pull/2741

    [FLINK-4998][yarn] fail if too many task slots are configured

    This fails the deployment of the Yarn application if the number of task
    slots are configured to be larger than the maximum virtual cores of the
    Yarn cluster.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mxm/flink FLINK-4998

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/2741.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2741
    
----
commit 35c4ad3cb086abe6fa85c5755daa8a83fbdfbf56
Author: Maximilian Michels <[email protected]>
Date:   2016-11-02T15:37:56Z

    [FLINK-4998][yarn] fail if too many task slots are configured
    
    This fails the deployment of the Yarn application if the number of task
    slots are configured to be larger than the maximum virtual cores of the
    Yarn cluster.

----


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

Reply via email to