You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Sen Zhao (JIRA)" <ji...@apache.org> on 2018/08/23 03:40:00 UTC

[jira] [Updated] (YARN-8701) If the single parameter in Resources#createResourceWithSameValue is greater than Integer.MAX_VALUE, then the value of vcores will be -1

     [ https://issues.apache.org/jira/browse/YARN-8701?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sen Zhao updated YARN-8701:
---------------------------
    Description: 
If I configure *MaxResources* in fair-scheduler.xml, like this:
{code}<MaxResources>resource1=50</MaxResources>{code}
In the queue, the *MaxResources* value will change to 
 {code}<MaxResources>memory:CLUSTER_MEMORY, VCores:0, resource1:50</MaxResources>{code}

I think the value of VCores should be *CLUSTER_VCORES*.

> If the single parameter in Resources#createResourceWithSameValue is greater than Integer.MAX_VALUE, then the value of vcores will be -1
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YARN-8701
>                 URL: https://issues.apache.org/jira/browse/YARN-8701
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: api
>            Reporter: Sen Zhao
>            Priority: Major
>
> If I configure *MaxResources* in fair-scheduler.xml, like this:
> {code}<MaxResources>resource1=50</MaxResources>{code}
> In the queue, the *MaxResources* value will change to 
>  {code}<MaxResources>memory:CLUSTER_MEMORY, VCores:0, resource1:50</MaxResources>{code}
> I think the value of VCores should be *CLUSTER_VCORES*.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org